From 008a71d3366d3f85ca66c630b3538c2eabb6d41e Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Wed, 27 Sep 2023 10:03:02 +0200 Subject: mastodon-toot--action: 1 not 2 lets --- lisp/mastodon-toot.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lisp/mastodon-toot.el') 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'. -- cgit v1.2.3