aboutsummaryrefslogtreecommitdiff
path: root/sx-site.el
diff options
context:
space:
mode:
authorJonathan Leech-Pepin <jonathan.leechpepin@gmail.com>2014-11-20 13:18:44 -0500
committerJonathan Leech-Pepin <jonathan.leechpepin@gmail.com>2014-11-20 13:18:44 -0500
commite63d08fe75cff6e4b713a477408203351cc14e57 (patch)
tree989a586aaab421ba17d701858ec1e572f5a4148b /sx-site.el
parent6b94d5f8c2c5b187a458c1256d9b496a0378770f (diff)
Uses of `sx-method-call` have been updated to use new format.
sx-question now includes 2 authentication requiring parameters, `question.upvoted` and `question.downvoted`. These will only be used if access token exists. sx-favorites still uses site-workaround pending #82.
Diffstat (limited to 'sx-site.el')
-rw-r--r--sx-site.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/sx-site.el b/sx-site.el
index 6bef91f..6928ea8 100644
--- a/sx-site.el
+++ b/sx-site.el
@@ -48,9 +48,10 @@
(defun sx-site--get-site-list ()
(sx-cache-get
'site-list
- '(sx-method-call
- "sites" '((pagesize . 999))
- sx-site-browse-filter)))
+ '(sx-method-call 'sites
+ :keywords '((pagesize . 999))
+ :filter sx-site-browse-filter
+ :auth 'warn)))
(defcustom sx-site-favorites
nil