ソースを参照

remove tailing commas

Stephen Moloney 8 年 前
コミット
a314d608a2
1 ファイル変更4 行追加4 行削除
  1. 4 4
      server/publications/users.js

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