aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-toot.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 086d2f1..b546804 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -332,9 +332,9 @@ Makes a POST request to the server. Used for favouriting,
boosting, or bookmarking toots."
(let* ((id (mastodon-tl--property 'base-toot-id))
(url (mastodon-http--api
- (concat "statuses/" (mastodon-tl--as-string id) "/" action))))
- (let ((response (mastodon-http--post url)))
- (mastodon-http--triage response callback))))
+ (concat "statuses/" (mastodon-tl--as-string id) "/" action)))
+ (response (mastodon-http--post url)))
+ (mastodon-http--triage response callback)))
(defun mastodon-toot--toggle-boost-or-favourite (type)
"Toggle boost or favourite of toot at `point'.