diff options
author | Stephen Moloney <stephen@stephenmoloney.com> | 2017-04-06 09:25:57 +0100 |
---|---|---|
committer | Stephen Moloney <stephen@stephenmoloney.com> | 2017-04-06 09:25:57 +0100 |
commit | a314d608a2dd4e05caeb50d76f18ba84f3981c8c (patch) | |
tree | 67c1953947ccef2351ac58c2b34e80d38d8d1ae1 | |
parent | 40197ed981be53895c537ec203fd72a1a606c891 (diff) | |
download | wekan-a314d608a2dd4e05caeb50d76f18ba84f3981c8c.tar.gz wekan-a314d608a2dd4e05caeb50d76f18ba84f3981c8c.tar.bz2 wekan-a314d608a2dd4e05caeb50d76f18ba84f3981c8c.zip |
remove tailing commas
-rw-r--r-- | server/publications/users.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/publications/users.js b/server/publications/users.js index 4fd98e13..198ee039 100644 --- a/server/publications/users.js +++ b/server/publications/users.js @@ -5,15 +5,15 @@ Meteor.publish('user-miniprofile', function(userId) { fields: { 'username': 1, 'profile.fullname': 1, - 'profile.avatarUrl': 1, - }, + 'profile.avatarUrl': 1 + } }); }); Meteor.publish('user-admin', function() { return Meteor.users.find(this.userId, { fields: { - isAdmin: 1, - }, + isAdmin: 1 + } }); }); |