Fixed a typo and removed an old todo comment

reviewable/pr1041/r2
mayjs 8 years ago
parent 452901d3b1
commit 1bdc28bf9c
  1. 4
      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
}
});

Loading…
Cancel
Save