aboutsummaryrefslogtreecommitdiff
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:44:41 +0100
commit699cc27b3a141544fbf48603eff4fbfea0911cd7 (patch)
tree86dcf5c611166ba1b87b2a6fa10330f30bcb13f8
parent82c247728ab3ff71d92b689c8fd3bebe1c526331 (diff)
FIX update profile note - params alist format
-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 ba3a0d3..5b243d1 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -271,7 +271,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!"))))))