diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-10 20:48:11 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-10 20:48:59 +0100 |
commit | 7dc13db0a929f8fe4b2c3b8e8a9b88b361914aa8 (patch) | |
tree | 32c5b58878836677b1366fef84706ca981538313 | |
parent | 699cc27b3a141544fbf48603eff4fbfea0911cd7 (diff) |
GET verify_cred not PATCH update_creds for fetch profile note
-rw-r--r-- | lisp/mastodon-profile.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el index 5b243d1..553c21d 100644 --- a/lisp/mastodon-profile.el +++ b/lisp/mastodon-profile.el @@ -247,8 +247,8 @@ JSON is the data returned by the server." (defun mastodon-profile--update-user-profile-note () "Fetch user's profile note and display for editing." (interactive) - (let* ((url (mastodon-http--api "accounts/update_credentials")) - (json (mastodon-http--patch-json url)) + (let* ((url (mastodon-http--api "accounts/verify_credentials")) + (json (mastodon-http--get-json url)) (source (alist-get 'source json)) (note (alist-get 'note source)) (buffer (get-buffer-create "*mastodon-update-profile*")) |