add support for profile
This commit is contained in:
parent
779e3ee978
commit
252ebf50cc
7 changed files with 268 additions and 1 deletions
10
imports/api/Users/server/publications.js
Normal file
10
imports/api/Users/server/publications.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { Meteor } from 'meteor/meteor';
|
||||
|
||||
Meteor.publish('users.editProfile', function usersProfile() {
|
||||
return Meteor.users.find(this.userId, {
|
||||
fields: {
|
||||
emails: 1,
|
||||
profile: 1,
|
||||
},
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue