summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
+ }
});
});