From 1bdc28bf9cffa311ba0955760c3a2013f23dce83 Mon Sep 17 00:00:00 2001 From: mayjs Date: Mon, 15 May 2017 19:20:55 +0200 Subject: Fixed a typo and removed an old todo comment --- models/boards.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'models') 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 } }); -- cgit v1.2.3-1-g7c22