summaryrefslogtreecommitdiffstats
path: root/models/users.js
diff options
context:
space:
mode:
Diffstat (limited to 'models/users.js')
-rw-r--r--models/users.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/users.js b/models/users.js
index 9a0a61a4..85f4baf2 100644
--- a/models/users.js
+++ b/models/users.js
@@ -159,7 +159,7 @@ if (Meteor.isClient) {
Users.helpers({
boards() {
- return Boards.find({userId: this._id});
+ return Boards.find({ 'members.userId': this._id });
},
starredBoards() {