Pārlūkot izejas kodu

Fix lint error.

Lauri Ojansivu 7 gadi atpakaļ
vecāks
revīzija
417bce5a01
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      sandstorm.js

+ 1 - 1
sandstorm.js

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