Created
July 13, 2013 20:31
-
-
Save lefnire/5992113 to your computer and use it in GitHub Desktop.
diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/store.js b/store.js | |
index 4555f47..706db4e 100644 | |
--- a/store.js | |
+++ b/store.js | |
@@ -84,7 +84,7 @@ var setupQueries = function(store) { | |
return this | |
.where("auth." + provider + ".id") | |
.equals(id) | |
- .only("auth." + provider + ".id") | |
+ .only(["auth." + provider + ".id", "apiToken"]) | |
.findOne(); | |
}); | |
store.queryAccess('users', 'withProvider', function(provider, id, accept, err) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment