rename /rpg-docs to /app
This commit is contained in:
7
app/server/publications/users.js
Normal file
7
app/server/publications/users.js
Normal file
@@ -0,0 +1,7 @@
|
||||
Meteor.publish("userNames", function(ids){
|
||||
if (!this.userId || !ids) return [];
|
||||
return Meteor.users.find(
|
||||
{_id: {$in: ids}},
|
||||
{fields: {username: 1}}
|
||||
);
|
||||
});
|
||||
Reference in New Issue
Block a user