diff options
author | Sean Allred <code@seanallred.com> | 2014-11-21 20:26:43 -0600 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2014-11-21 20:26:43 -0600 |
commit | 3edd697b1d34a05e3112eb61ff82f71f79aafa6d (patch) | |
tree | 3717181f3210f8894bba8eeabbec9db66719eb48 /sx-favorites.el | |
parent | 88d040226513025b14ed76dd0819611bfb0a8fd4 (diff) | |
parent | 06cd4215de8d2e8680de74546984d9bdbc47b1d3 (diff) |
Merge pull request #84 from jleechpe/sx-method-auth
Implement checking for filter and method authentication requirement.
Diffstat (limited to 'sx-favorites.el')
-rw-r--r-- | sx-favorites.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sx-favorites.el b/sx-favorites.el index 71079fb..aaf2734 100644 --- a/sx-favorites.el +++ b/sx-favorites.el @@ -51,10 +51,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 t)) (defun sx-favorites--update-site-favorites (site) "Update list of starred QUESTION_IDs for SITE. |