Procházet zdrojové kódy

Fix Missing trailing comma in users.js

Thuan Pham Quoc před 7 roky
rodič
revize
b4c3e02b75
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      models/users.js

+ 1 - 1
models/users.js

@@ -468,7 +468,7 @@ if (Meteor.isServer) {
     const invitationCode = InvitationCodes.findOne({
       code: options.profile.invitationcode,
       email: options.email,
-      valid: true
+      valid: true,
     });
     if (!invitationCode) {
       throw new Meteor.Error('error-invitation-code-not-exist', 'The invitation code doesn\'t exist');