aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/mastodon-transient.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/mastodon-transient.el b/lisp/mastodon-transient.el
index 9b8d738..bbc8bc2 100644
--- a/lisp/mastodon-transient.el
+++ b/lisp/mastodon-transient.el
@@ -89,9 +89,7 @@ the format fields.X.keyname."
:transient 'transient--do-exit
;; interactive receives args from the prefix:
(interactive (list (transient-args 'mastodon-user-settings)))
- (let* ((only-changed (tp-only-changed-args args))
- (arrays (tp-dots-to-arrays only-changed))
- (strs (tp-bools-to-strs arrays)) ;; we can't PATCH json
+ (let* ((strs (tp-parse-args-for-send args :strings))
(url (mastodon-http--api "accounts/update_credentials"))
(resp (mastodon-http--patch url strs))) ;; :json fails
(mastodon-http--triage