aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-http.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-23 11:32:48 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-23 11:32:48 +0100
commit756b879634ae6994b52bd4c011bc4b46a0995037 (patch)
tree05c63b4cb37a4b5b0a28f37251e1b3d3226f3122 /lisp/mastodon-http.el
parent08ed1ae30888086256f343be978cf7eb65cec9eb (diff)
parent19f18b4076efefa212a0e56757ac844eafda9481 (diff)
Merge branch 'develop'
Diffstat (limited to 'lisp/mastodon-http.el')
-rw-r--r--lisp/mastodon-http.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/mastodon-http.el b/lisp/mastodon-http.el
index 88bc9c6..3632a11 100644
--- a/lisp/mastodon-http.el
+++ b/lisp/mastodon-http.el
@@ -43,7 +43,6 @@
(autoload 'mastodon-auth--access-token "mastodon-auth")
(autoload 'mastodon-toot--update-status-fields "mastodon-toot")
-
(defvar mastodon-http--api-version "v1")
(defconst mastodon-http--timeout 15
@@ -318,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."