aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-toot.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mastodon-toot.el')
-rw-r--r--lisp/mastodon-toot.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 9096a47..1277a9c 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -46,7 +46,7 @@
(defun mastodon-toot--action (action callback)
"Take ACTION on toot at point, then execute CALLBACK."
(let* ((id (mastodon-tl--property 'toot-id))
- (url (mastodon--api-for (concat "statuses/"
+ (url (mastodon-http--api (concat "statuses/"
(number-to-string id)
"/"
action))))
@@ -63,7 +63,7 @@
"Kill new-toot buffer/window and POST contents to the Mastodon instance."
(interactive)
(let* ((toot (buffer-string))
- (endpoint (mastodon--api-for "statuses"))
+ (endpoint (mastodon-http--api "statuses"))
(args `(("status" . ,toot)
("in_reply_to_id" . ,mastodon-toot--reply-to-id))))
(progn