aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-search.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-10-13 21:24:22 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-10-13 21:24:22 +0200
commit57aec26ea873dd8c93d3d438a26af9d79cc867cd (patch)
tree05820aed6a2f1488bfd00eae2f025fd7bbefc12a /lisp/mastodon-search.el
parentb75760867bd00f80b35779abc517719600228b35 (diff)
remove "api/v1/" from trends endpoint in buffer spec and buffer checks
Diffstat (limited to 'lisp/mastodon-search.el')
-rw-r--r--lisp/mastodon-search.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/mastodon-search.el b/lisp/mastodon-search.el
index 56c833d..287d593 100644
--- a/lisp/mastodon-search.el
+++ b/lisp/mastodon-search.el
@@ -116,8 +116,7 @@ PRINT-FUN is the function used to print the data from the response."
(buffer (get-buffer-create (format "*mastodon-trending-%s*" type))))
(with-mastodon-buffer buffer #'mastodon-mode nil
(mastodon-tl--set-buffer-spec (buffer-name buffer)
- (format "api/v1/trends/%s" type)
- nil)
+ (format "trends/%s" type)
(insert (mastodon-tl--set-face
(concat "\n " mastodon-tl--horiz-bar "\n"
(upcase (format " TRENDING %s\n" type))