mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Fix lint error.
This commit is contained in:
parent
c0f67eb99b
commit
417bce5a01
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue