aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-profile.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-08-19 15:34:22 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-08-19 15:34:37 +0200
commitf9e8522ae3ef3bd022ae81893acb414e9741b905 (patch)
tree34c2a577e41105f213a7c0b7ce3197ce324f375d /lisp/mastodon-profile.el
parentffcd7553d708c775127946dfe638cba0cda34312 (diff)
remove old call to http--api-search
Diffstat (limited to 'lisp/mastodon-profile.el')
-rw-r--r--lisp/mastodon-profile.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el
index 093e0a8..5f33ce2 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -837,7 +837,8 @@ If the handle does not match a search return then retun NIL."
handle))
(args `(("q" . ,handle)
("type" . "accounts")))
- (result (mastodon-http--get-json (mastodon-http--api-search) args))
+ (result (mastodon-http--get-json
+ (mastodon-http--api-v2 "search") args))
(matching-account (seq-remove
(lambda (x)
(not (string= handle (alist-get 'acct x))))