|
@@ -5,15 +5,15 @@ Meteor.publish('user-miniprofile', function(userId) {
|
|
fields: {
|
|
fields: {
|
|
'username': 1,
|
|
'username': 1,
|
|
'profile.fullname': 1,
|
|
'profile.fullname': 1,
|
|
- 'profile.avatarUrl': 1,
|
|
|
|
- },
|
|
|
|
|
|
+ 'profile.avatarUrl': 1
|
|
|
|
+ }
|
|
});
|
|
});
|
|
});
|
|
});
|
|
|
|
|
|
Meteor.publish('user-admin', function() {
|
|
Meteor.publish('user-admin', function() {
|
|
return Meteor.users.find(this.userId, {
|
|
return Meteor.users.find(this.userId, {
|
|
fields: {
|
|
fields: {
|
|
- isAdmin: 1,
|
|
|
|
- },
|
|
|
|
|
|
+ isAdmin: 1
|
|
|
|
+ }
|
|
});
|
|
});
|
|
});
|
|
});
|