diff options
author | Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com> | 2014-11-20 13:18:44 -0500 |
---|---|---|
committer | Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com> | 2014-11-20 13:18:44 -0500 |
commit | e63d08fe75cff6e4b713a477408203351cc14e57 (patch) | |
tree | 989a586aaab421ba17d701858ec1e572f5a4148b /sx-networks.el | |
parent | 6b94d5f8c2c5b187a458c1256d9b496a0378770f (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-networks.el')
-rw-r--r-- | sx-networks.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sx-networks.el b/sx-networks.el index 755d62c..ff5a630 100644 --- a/sx-networks.el +++ b/sx-networks.el @@ -67,10 +67,11 @@ If cache is not available, retrieve current data." Sets cache and then uses `sx-network--get-associated' to update the variables." (sx-cache-set 'network-user - (sx-method-call "me/associated" - '((types . (main_site meta_site))) - sx-network--user-filter - 'warn)) + (sx-method-call 'me + :submethod 'associated + :keywords '((types . (main_site meta_site))) + :filter sx-network--user-filter + :auth 'warn)) (sx-network--get-associated)) (defun sx-network--initialize () |