summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Moloney <stephen@stephenmoloney.com>2017-04-06 09:25:57 +0100
committerStephen Moloney <stephen@stephenmoloney.com>2017-04-06 09:25:57 +0100
commita314d608a2dd4e05caeb50d76f18ba84f3981c8c (patch)
tree67c1953947ccef2351ac58c2b34e80d38d8d1ae1
parent40197ed981be53895c537ec203fd72a1a606c891 (diff)
downloadwekan-a314d608a2dd4e05caeb50d76f18ba84f3981c8c.tar.gz
wekan-a314d608a2dd4e05caeb50d76f18ba84f3981c8c.tar.bz2
wekan-a314d608a2dd4e05caeb50d76f18ba84f3981c8c.zip
remove tailing commas
-rw-r--r--server/publications/users.js8
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
+ }
});
});