diff options
author | mayjs <johannes.may@udo.edu> | 2017-05-15 19:20:55 +0200 |
---|---|---|
committer | mayjs <johannes.may@udo.edu> | 2017-05-15 19:20:55 +0200 |
commit | 1bdc28bf9cffa311ba0955760c3a2013f23dce83 (patch) | |
tree | e7a28127b2299cb225b24977bbeb4aea45b4e218 | |
parent | 452901d3b1578da35ba6c1caa50a640a9fcfccf7 (diff) | |
download | wekan-1bdc28bf9cffa311ba0955760c3a2013f23dce83.tar.gz wekan-1bdc28bf9cffa311ba0955760c3a2013f23dce83.tar.bz2 wekan-1bdc28bf9cffa311ba0955760c3a2013f23dce83.zip |
Fixed a typo and removed an old todo comment
-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 } }); |