From e63d08fe75cff6e4b713a477408203351cc14e57 Mon Sep 17 00:00:00 2001 From: Jonathan Leech-Pepin Date: Thu, 20 Nov 2014 13:18:44 -0500 Subject: 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. --- sx-favorites.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sx-favorites.el') diff --git a/sx-favorites.el b/sx-favorites.el index 3aa96dd..55ebf49 100644 --- a/sx-favorites.el +++ b/sx-favorites.el @@ -55,10 +55,10 @@ Added as hook to initialization." (defun sx-favorites--retrieve-favorites (site) "Obtain list of starred QUESTION_IDs for SITE." - (sx-method-call (format "me/favorites?site=%s" site) - nil - sx-favorite-list-filter - 'warn)) + (sx-method-call 'me + :submethod (format "favorites?site=%s" site) + :filter sx-favorite-list-filter + :auth 'warn)) (defun sx-favorites--update-site-favorites (site) "Update list of starred QUESTION_IDs for SITE. -- cgit v1.2.3