diff --git a/server/publications/users.js b/server/publications/users.js index 4fd98e13d..198ee039f 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 + } }); });