I have a basic query to get the email list of the people in my database. When I console.log() it through console, it works great, but within the app it just doesn't.
// this works in console.log() but not in the app
return memberProfile.findOne({memberId: Meteor.user()._id}).email
// this is how its meant to be, where we insert each appropriate user id
return memberProfile.findOne({memberId: this._id}).email
I'm still getting the hang of Meteor, would much appreciate your help with learning it.