aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-19 11:27:34 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-19 11:27:34 +0100
commitfbf796a7bdf98babfdbfc879c49db3defdc2577d (patch)
tree9bc8329a22e1877d2a00b19fd7815dbfea205d96
parenta9f0e504cf441db0fd311141c1a9433cf9a46be7 (diff)
http build array args docstring
-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 d9e1d80..e67cf2d 100644
--- a/lisp/mastodon-http.el
+++ b/lisp/mastodon-http.el
@@ -125,7 +125,8 @@ Unless UNAUTHENTICATED-P is non-nil."
"&"))
(defun mastodon-http--build-array-args-alist (param-str array)
- "Return parameters alist using PARAM-STR and ARRAY param values."
+ "Return parameters alist using PARAM-STR and ARRAY param values.
+Used for API form data parameters that take an array."
(cl-loop for x in array
collect (cons param-str x)))