Closed wildhart closed 1 year ago
In grouping.coffee I suggest changing the line:
grouping.coffee
user = Meteor.users.findOne(userId})
to
user = Meteor.users.findOne(userId, {fields: groupId: 1, admin: 1})
so that the entire user object is not fetched from the database server. Applications may store significant amounts of extra data on the user object.
Sure. If you make a PR I will merge it.
@mizzao I make a PR #34 , Please check.
In
grouping.coffee
I suggest changing the line:to
so that the entire user object is not fetched from the database server. Applications may store significant amounts of extra data on the user object.