@@ -106,8 +106,8 @@ Users.attachSchema(new SimpleSchema({
},
isAdmin: {
type: Boolean,
- optional: true
- }
+ optional: true,
+ },
}));
// Search a user in the complete server database by its name or username. This
@@ -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, {
- isAdmin: 1
+ isAdmin: 1,