From 417bce5a01f61c9ac2cde99fb668bde31a6e5989 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Sun, 30 Jul 2017 19:05:48 +0300 Subject: Fix lint error. --- sandstorm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sandstorm.js') 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; }; } -- cgit v1.2.3-1-g7c22