Fixed a typo and removed an old todo comment

This commit is contained in:
mayjs 2017-05-15 19:20:55 +02:00
parent 452901d3b1
commit 1bdc28bf9c

View file

@ -562,13 +562,13 @@ if (Meteor.isServer) {
const data = Boards.find({ const data = Boards.find({
archived: false, 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'], sort: ['title'],
}).map(function(board) { }).map(function(board) {
return { return {
_id: board._id, _id: board._id,
title: board._title title: board.title
} }
}); });