aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-10 20:44:41 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-10 20:45:24 +0100
commit7d8dd00a97c73b0c2e04c37c38daf6b1c04de4c8 (patch)
treeb7ccfeaa6bb3b33860f384d7a0d99415293ec6d9 /lisp
parent9411f56f9f0d3a26e5948058dd919dcf71331c6a (diff)
FIX update profile note - params alist format
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-profile.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el
index 4aa9310..c61298e 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -270,7 +270,7 @@ JSON is the data returned by the server."
(let* ((note (buffer-substring-no-properties (point-min) (point-max)))
(url (mastodon-http--api "accounts/update_credentials")))
(kill-buffer-and-window)
- (let ((response (mastodon-http--patch url `((note ,note)))))
+ (let ((response (mastodon-http--patch url `(("note" . ,note)))))
(mastodon-http--triage response
(lambda () (message "Profile note updated!"))))))