mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 00:10:13 +01: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) {
|
if (newMethods[key].auth) {
|
||||||
newMethods[key].auth = function() {
|
newMethods[key].auth = function() {
|
||||||
const sandstormID = this.req.headers['x-sandstorm-user-id'];
|
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;
|
return user && user._id;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue