From 553b3dc5e4ebd0b83ec34fa18407fec343c1422c Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Wed, 9 Oct 2024 08:29:57 +0200 Subject: user settings transient: use new tp-parse-args-for-send --- lisp/mastodon-transient.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lisp') 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 -- cgit v1.2.3