perak / meteor-joins

Collection joins for Meteor
77 stars 7 forks source link

Meteor.users().find() is returning _id field of documents in browser console after Meteor.logout() #26

Open joe455 opened 3 years ago

joe455 commented 3 years ago

We are trying to join two collections as part of subscription and added check to subscribe the data only after user logged In.

But after logout, If we query like "Meteor.users().find()" it is returning _id's of user documents.

If we remove, join , this issue was not there. But we want to use join to get the required to client side.

Please suggest what we have to do to resolve this error.

Application is running on Meteor v2.1