mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 01:28:49 +01:00
Fixed eslint errors
This commit is contained in:
parent
c59891d44b
commit
25b26657da
3 changed files with 13 additions and 13 deletions
|
|
@ -560,15 +560,15 @@ if (Meteor.isServer) {
|
|||
Authentication.checkLoggedIn(req.userId);
|
||||
|
||||
const data = Boards.find({
|
||||
archived: false,
|
||||
'members.userId': req.userId,
|
||||
}, {
|
||||
sort: ['title'],
|
||||
}).map(function(board) {
|
||||
return {
|
||||
_id: board._id,
|
||||
title: board.title
|
||||
}
|
||||
archived: false,
|
||||
'members.userId': req.userId,
|
||||
}, {
|
||||
sort: ['title'],
|
||||
}).map(function(board) {
|
||||
return {
|
||||
_id: board._id,
|
||||
title: board.title,
|
||||
};
|
||||
});
|
||||
|
||||
JsonRoutes.sendResult(res, {code: 200, data});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue