diff options
Diffstat (limited to 'models')
-rw-r--r-- | models/boards.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/boards.js b/models/boards.js index 5df34215..f2ac794e 100644 --- a/models/boards.js +++ b/models/boards.js @@ -562,13 +562,13 @@ if (Meteor.isServer) { const data = Boards.find({ archived: false, - 'members.userId': req.userId, // TODO: How does the current authentication system work? Can we rely on req.userId to be correct? + 'members.userId': req.userId, }, { sort: ['title'], }).map(function(board) { return { _id: board._id, - title: board._title + title: board.title } }); |