diff options
Diffstat (limited to 'models/boards.js')
-rw-r--r-- | models/boards.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/models/boards.js b/models/boards.js index 57493fd3..366a680a 100644 --- a/models/boards.js +++ b/models/boards.js @@ -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}); |