diff options
Diffstat (limited to 'sandstorm.js')
-rw-r--r-- | sandstorm.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sandstorm.js b/sandstorm.js index 2a966d62..80910dc3 100644 --- a/sandstorm.js +++ b/sandstorm.js @@ -325,7 +325,7 @@ if (isSandstorm && Meteor.isServer) { if (newMethods[key].auth) { newMethods[key].auth = function() { const sandstormID = this.req.headers['x-sandstorm-user-id']; - const user = Meteor.users.findOne({"services.sandstorm.id": sandstormID}); + const user = Meteor.users.findOne({'services.sandstorm.id': sandstormID}); return user && user._id; }; } |