diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-09-12 21:40:22 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-09-12 22:46:45 +0200 |
commit | caa5fdc35c50839a12da60f883f94e55af3a1c8b (patch) | |
tree | ab30257b442cd90e773f75c2dac1d5ef67816bb7 /lisp/mastodon-profile.el | |
parent | eaaf0b5f5c466d1e998b22f3ae91fc66c50434d8 (diff) |
format profile preference params to match toot-send ones
Diffstat (limited to 'lisp/mastodon-profile.el')
-rw-r--r-- | lisp/mastodon-profile.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el index 38aceae..ff729f0 100644 --- a/lisp/mastodon-profile.el +++ b/lisp/mastodon-profile.el @@ -274,7 +274,7 @@ Both args are strings. SOURCE means that the preference is in the 'source' part of the account JSON." (let* ((url (mastodon-http--api "accounts/update_credentials")) (pref-formatted (if source (concat "source[" pref "]") pref)) - (response (mastodon-http--patch url `((,pref-formatted ,val))))) + (response (mastodon-http--patch url `((,pref-formatted . ,val))))) (mastodon-http--triage response (lambda () (mastodon-profile-fetch-server-account-settings) |