Created
September 29, 2013 20:44
-
-
Save Pent/6756366 to your computer and use it in GitHub Desktop.
returning more user fields
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Meteor.publish(null, function() { | |
| return Meteor.users.find({_id: this.userId}, {fields: {username: 1, emails: 1, profile: 1, admin: 1}}); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment