diff options
author | Lauri Ojansivu <x@xet7.org> | 2017-07-30 19:05:48 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2017-07-30 19:05:48 +0300 |
commit | 417bce5a01f61c9ac2cde99fb668bde31a6e5989 (patch) | |
tree | e92e1d062780803e44c4195f2aea45b498680941 | |
parent | c0f67eb99bb2654275e27163a2789421c8194c08 (diff) | |
download | wekan-417bce5a01f61c9ac2cde99fb668bde31a6e5989.tar.gz wekan-417bce5a01f61c9ac2cde99fb668bde31a6e5989.tar.bz2 wekan-417bce5a01f61c9ac2cde99fb668bde31a6e5989.zip |
Fix lint error.
-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; }; } |