summaryrefslogtreecommitdiffstats
path: root/sandstorm.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2017-07-30 19:05:48 +0300
committerLauri Ojansivu <x@xet7.org>2017-07-30 19:05:48 +0300
commit417bce5a01f61c9ac2cde99fb668bde31a6e5989 (patch)
treee92e1d062780803e44c4195f2aea45b498680941 /sandstorm.js
parentc0f67eb99bb2654275e27163a2789421c8194c08 (diff)
downloadwekan-417bce5a01f61c9ac2cde99fb668bde31a6e5989.tar.gz
wekan-417bce5a01f61c9ac2cde99fb668bde31a6e5989.tar.bz2
wekan-417bce5a01f61c9ac2cde99fb668bde31a6e5989.zip
Fix lint error.
Diffstat (limited to 'sandstorm.js')
-rw-r--r--sandstorm.js2
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;
};
}