aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-http.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-21 14:50:55 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-21 14:50:55 +0100
commitfdeeb396c7c2c9a6618661e2ea5d24b999a0e42f (patch)
tree7da88b00c9b2f7806ecd039fb3b7f4d9e8669f7c /lisp/mastodon-http.el
parentd654ab86bde598072d6b8e6a4ca398198bfb9882 (diff)
manually(!) apply stephan monnier's patch, save the ts work
thanks stephan!
Diffstat (limited to 'lisp/mastodon-http.el')
-rw-r--r--lisp/mastodon-http.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-http.el b/lisp/mastodon-http.el
index d1f654e..3632a11 100644
--- a/lisp/mastodon-http.el
+++ b/lisp/mastodon-http.el
@@ -317,7 +317,7 @@ PARAMS is an alist of any extra parameters to send with the request."
(when status ;; only when we actually get sth?
(apply callback (mastodon-http--process-json) cbargs)))))
-(defun mastodon-http--post-async (url params headers &optional callback &rest cbargs)
+(defun mastodon-http--post-async (url params _headers &optional callback &rest cbargs)
"POST asynchronously to URL with PARAMS and HEADERS.
Then run function CALLBACK with arguements CBARGS.
Authorization header is included by default unless UNAUTHENTICED-P is non-nil."