rename /rpg-docs to /app
This commit is contained in:
8
app/server/publications/user.js
Normal file
8
app/server/publications/user.js
Normal file
@@ -0,0 +1,8 @@
|
||||
Meteor.publish("user", function(){
|
||||
return Meteor.users.find(this.userId, {fields: {
|
||||
roles: 1,
|
||||
username: 1,
|
||||
profile: 1,
|
||||
apiKey: 1,
|
||||
}});
|
||||
});
|
||||
Reference in New Issue
Block a user