aboutsummaryrefslogtreecommitdiff
path: root/sx-interaction.el
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2015-01-04 15:21:55 -0500
committerSean Allred <code@seanallred.com>2015-01-04 15:21:55 -0500
commit1b5fd39d84cfc3138c2619631eebe508e7a0c2f9 (patch)
treedc4b74ed834aadc5992e92419f5247eb0408a7a4 /sx-interaction.el
parentd20f7e140d33b230cdaddd08cc6e2dfe75fd1e2b (diff)
Use symbols for url-request-method
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)))))