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
The code in common.js calls Meteor.userId(), and if that code is called from within a publish function, Meteor will issue this error:
common.js
Meteor.userId can only be invoked in method calls. Use this.userId in publish functions.
The text was updated successfully, but these errors were encountered:
I have the same issue in the onLogin function.
I'm going to try to fix it and submit a pull request. Hoping the developer is still around : )
Sorry, something went wrong.
fixes BenjaminRH#1
15be763
No branches or pull requests
The code in
common.js
calls Meteor.userId(), and if that code is called from within a publish function, Meteor will issue this error:The text was updated successfully, but these errors were encountered: