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 21:40:22 +0200 |
commit | f7603638933ee7bb9bc7d9065eab15d186c5ca3c (patch) | |
tree | 2cb11ace6f84901f8d2467ca7d6fd764efb714bb /lisp/mastodon-profile.el | |
parent | e2fd67b16104ab772a4ef962613cb9f3cb3cea52 (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 87e467c..590f463 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) |