mirror of
https://github.com/wekan/wekan.git
synced 2025-04-24 14:08:31 -04:00
Fixed a typo and removed an old todo comment
This commit is contained in:
parent
452901d3b1
commit
1bdc28bf9c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue