aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-http.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-21 23:33:28 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-22 00:00:53 +0100
commit8b45a7a83de0747029b6cd1d1cf7628afef0ad6c (patch)
treec3ac28aeeb874d19b5884098712b34c4accfa596 /lisp/mastodon-http.el
parent9b9431b130c1d8d1a03e445ae1f7803d2a511d70 (diff)
fix some tests due to params
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 259432e..d56f3ad 100644
--- a/lisp/mastodon-http.el
+++ b/lisp/mastodon-http.el
@@ -333,8 +333,8 @@ PARAMS is an alist of any extra parameters to send with the request."
"Make GET request to URL. Call CALLBACK with json-list and ARGS.
PARAMS is an alist of any extra parameters to send with the request."
(mastodon-http--get-async
- params
url
+ params
(lambda (status)
(when status ;; only when we actually get sth?
(apply callback (mastodon-http--process-json) args)))))