summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorThuan Pham Quoc <thuanpq.io@gmail.com>2017-11-16 14:14:03 +0700
committerThuan Pham Quoc <thuanpq.io@gmail.com>2017-11-16 14:14:03 +0700
commitb4c3e02b75c2fc9eca3af668fdd8b27b9afaa279 (patch)
tree4ea97e234cc035b2bbd3186197d0360c1fc46e11 /models
parentfa1d8cd5ef0834f882e6d34d356d5fea55eb6ea1 (diff)
downloadwekan-b4c3e02b75c2fc9eca3af668fdd8b27b9afaa279.tar.gz
wekan-b4c3e02b75c2fc9eca3af668fdd8b27b9afaa279.tar.bz2
wekan-b4c3e02b75c2fc9eca3af668fdd8b27b9afaa279.zip
Fix Missing trailing comma in users.js
Diffstat (limited to 'models')
-rw-r--r--models/users.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/users.js b/models/users.js
index ae35401c..9a0a61a4 100644
--- a/models/users.js
+++ b/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');