emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/mastodon 008a71d336 2/4: mastodon-toot--action: 1 not 2 le


From: ELPA Syncer
Subject: [nongnu] elpa/mastodon 008a71d336 2/4: mastodon-toot--action: 1 not 2 lets
Date: Wed, 27 Sep 2023 10:01:25 -0400 (EDT)

branch: elpa/mastodon
commit 008a71d3366d3f85ca66c630b3538c2eabb6d41e
Author: marty hiatt <martianhiatus [a t] riseup [d o t] net>
Commit: marty hiatt <martianhiatus [a t] riseup [d o t] net>

    mastodon-toot--action: 1 not 2 lets
---
 lisp/mastodon-toot.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 086d2f1914..b546804f6d 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'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]