From 9aeb84f4fd781f931e2e78573cbd85edd2a22db7 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Sat, 19 Oct 2024 22:20:44 +0200 Subject: flychecks --- lisp/mastodon-http.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/mastodon-http.el') 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 -- cgit v1.2.3