aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2022-02-07 19:53:42 +0100
committermousebot <mousebot@riseup.net>2022-02-07 21:12:56 +0100
commit16685d4e3fb7fce2011d751fc26661aa41ddd3aa (patch)
tree34c852290b48f8d2e1ca3a2c76deffd7aef5ad62
parent43d90313f2e879cd37b7123b87dcf53819605128 (diff)
--search-accounts-query use http--api
-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")