2
0
Stephen Moloney 8 жил өмнө
parent
commit
a314d608a2

+ 4 - 4
server/publications/users.js

@@ -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
+    }
   });
   });
 });
 });