aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-21 22:01:07 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-21 23:08:46 +0100
commit9b9431b130c1d8d1a03e445ae1f7803d2a511d70 (patch)
treeb90bd1f537db44e8e89dd2d21c903c5114eb94d5 /lisp/mastodon.el
parentcba97969ea0c21acd8ddf5d5c531aaf252092e97 (diff)
params always in http.el, only ever send alists from elsewhere.
probably incomplete but mostly done.
Diffstat (limited to 'lisp/mastodon.el')
-rw-r--r--lisp/mastodon.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index d8591e1..cfe6681 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -291,7 +291,7 @@ not, just browse the URL in the normal fashion."
(browse-url query)
(message "Performing lookup...")
(let* ((url (format "%s/api/v2/search" mastodon-instance-url))
- (param (concat "resolve=t")) ; webfinger
+ (param '(("resolve" . "t"))) ; webfinger
(response (mastodon-http--get-search-json url query param :silent)))
(cond ((not (seq-empty-p
(alist-get 'statuses response)))