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:11 +0100 |
commit | 404d2fce2a5a975888a499aa224c81e862f60b82 (patch) | |
tree | 64df63421f92ba75017b4d9e1e226edfc0a298ee | |
parent | 7d8dd00a97c73b0c2e04c37c38daf6b1c04de4c8 (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 c61298e..8d5bf36 100644 --- a/lisp/mastodon-profile.el +++ b/lisp/mastodon-profile.el @@ -246,8 +246,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*")) |