aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-search.el
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2022-02-07 19:53:42 +0100
committermousebot <mousebot@riseup.net>2022-02-07 19:53:42 +0100
commit0a530ebd926fbc5feefc426eda2225a22bef4615 (patch)
tree28a7089783792368423599bf86e95a3a2b8f7906 /lisp/mastodon-search.el
parentc6591296f2c2d65037fbf703d2b4ede197dcda15 (diff)
--search-accounts-query use http--api
Diffstat (limited to 'lisp/mastodon-search.el')
-rw-r--r--lisp/mastodon-search.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-search.el b/lisp/mastodon-search.el
index 6c85965..8c654cc 100644
--- a/lisp/mastodon-search.el
+++ b/lisp/mastodon-search.el
@@ -57,7 +57,7 @@
"Prompt for a search QUERY and return accounts synchronously.
Returns a nested list containing user handle, display name, and URL."
(interactive "sSearch mastodon for: ")
- (let* ((url (format "%s/api/v1/accounts/search" mastodon-instance-url))
+ (let* ((url (mastodon-http--api "accounts/search"))
;; (buffer (format "*mastodon-search-%s*" query))
(response (if (equal mastodon-toot--enable-completion-for-mentions "following")
(mastodon-http--get-search-json url query "following=true")