diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-09-27 10:03:02 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-09-27 10:03:02 +0200 |
commit | 008a71d3366d3f85ca66c630b3538c2eabb6d41e (patch) | |
tree | 2afd9af2c69fac0e08ac33cfd5a3604040f09ae0 /lisp | |
parent | 52ef7089a73c0408e74eb8fd384af3e275e4aff6 (diff) |
mastodon-toot--action: 1 not 2 lets
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mastodon-toot.el | 6 |
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'. |