Skip to content

Instantly share code, notes, and snippets.

@copleykj
Created June 24, 2014 15:19
Show Gist options
  • Save copleykj/3675c94113e75c908c15 to your computer and use it in GitHub Desktop.
Save copleykj/3675c94113e75c908c15 to your computer and use it in GitHub Desktop.
Meteor.publish('userData', function() {
if(!this.userId) return null;
return Meteor.users.find(this.userId, {fields: {
mmmelons: 1,
}});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment