Browse Source

Fix Missing trailing comma in users.js

Thuan Pham Quoc 7 years ago
parent
commit
b4c3e02b75
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/users.js

+ 1 - 1
models/users.js

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