aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-http.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-05-29 15:56:31 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-05-30 10:18:07 +0200
commit9785650845b3f1d988b080ff14e166bbd390863e (patch)
treeaa786933829a3e7cc8ffebcd8f39abc0eaf45f47 /lisp/mastodon-http.el
parent5b321820fa23fba187c8bb92c159e2c76eb1407e (diff)
docstring and index
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 4721087..60654ff 100644
--- a/lisp/mastodon-http.el
+++ b/lisp/mastodon-http.el
@@ -142,9 +142,10 @@ Used for API form data parameters that take an array."
"POST synchronously to URL, optionally with PARAMS and HEADERS.
Authorization header is included by default unless
UNAUTHENTICATED-P is non-nil.
-
If JSON is :json, encode PARAMS as JSON for
the request data. If it is :raw, just use the plain params."
+ ;; NB: raw is used by `mastodon-tl--unfilter-user-languages'; not sure if
+ ;; there's a way around it?
(mastodon-http--authorized-request "POST"
(let* ((url-request-data
(when params