We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I have a collection called Messages and I'm trying to join it with Meteor.users to get the author name:
export const Messages = new Mongo.Collection('messages'); Messages.join(Meteor.users, '_author', 'author', ['profile']); if (Meteor.isServer) { Meteor.publish('messages', function() { return Messages.find({}, { sort: { createdAt: -1 } }); }); }
If I'm logged in I can see correctly the user name for my messages. If I logout I receive the following error:
Exception from Tracker recompute function: TypeError: Cannot read property 'profile' of undefined
The text was updated successfully, but these errors were encountered:
Hi @Torone thanks for reporting issue, I'll check what's the problem and fix if possible
Sorry, something went wrong.
No branches or pull requests
Hi,
I have a collection called Messages and I'm trying to join it with Meteor.users to get the author name:
If I'm logged in I can see correctly the user name for my messages. If I logout I receive the following error:
The text was updated successfully, but these errors were encountered: