aboutsummaryrefslogtreecommitdiff
path: root/sx-interaction.el
diff options
context:
space:
mode:
Diffstat (limited to 'sx-interaction.el')
-rw-r--r--sx-interaction.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/sx-interaction.el b/sx-interaction.el
index 80c8e5a..a72b14c 100644
--- a/sx-interaction.el
+++ b/sx-interaction.el
@@ -202,7 +202,7 @@ With the UNDO prefix argument, unfavorite the question instead."
:submethod (if undo 'favorite/undo 'favorite)
:auth 'warn
:site .site_par
- :url-method "POST"
+ :url-method 'post
:filter sx-browse-filter)))
(defalias 'sx-star #'sx-favorite)
@@ -241,7 +241,7 @@ changes."
:id (or .comment_id .answer_id .question_id)
:submethod (concat type (unless status "/undo"))
:auth 'warn
- :url-method "POST"
+ :url-method 'post
:filter sx-browse-filter
:site .site_par))))
;; The api returns the new DATA.
@@ -282,7 +282,7 @@ TEXT is a string. Interactively, it is read from the minibufer."
:id (or .post_id .answer_id .question_id)
:submethod "comments/add"
:auth 'warn
- :url-method "POST"
+ :url-method 'post
:filter sx-browse-filter
:site .site_par
:keywords `((body . ,text)))))