aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-http.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-10-19 22:20:44 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-10-19 22:20:44 +0200
commit9aeb84f4fd781f931e2e78573cbd85edd2a22db7 (patch)
tree9511637ea57e06d28e7f0afb4e389f6ea508ce3f /lisp/mastodon-http.el
parenta47313e2fb1509028f022ac24ce311057023f4ca (diff)
flychecks
Diffstat (limited to 'lisp/mastodon-http.el')
-rw-r--r--lisp/mastodon-http.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mastodon-http.el b/lisp/mastodon-http.el
index 42b599d..5035cb4 100644
--- a/lisp/mastodon-http.el
+++ b/lisp/mastodon-http.el
@@ -302,7 +302,8 @@ Optionally specify the PARAMS to send."
(defun mastodon-http--patch (url &optional params json)
"Make synchronous PATCH request to URL.
-Optionally specify the PARAMS to send."
+Optionally specify the PARAMS to send.
+JSON means send params as JSON data."
(mastodon-http--authorized-request "PATCH"
;; NB: unlike POST, PATCHing only works if we use query params!
;; so here, unless JSON arg, we use query params and do not set