Fix lint error.

This commit is contained in:
Lauri Ojansivu 2017-07-30 19:05:48 +03:00
parent c0f67eb99b
commit 417bce5a01

View file

@ -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;
};
}