summaryrefslogtreecommitdiffstats
path: root/models/boards.js
diff options
context:
space:
mode:
authormayjs <johannes.may@udo.edu>2017-05-15 22:10:46 +0200
committermayjs <johannes.may@udo.edu>2017-05-15 22:10:46 +0200
commit25b26657da71da05b09fff48f1329ce936ae022b (patch)
treed21011b91134a2f684eb3dd1a15ca3551ef0fdea /models/boards.js
parentc59891d44b09af1ed2112b1f524046376167dbed (diff)
downloadwekan-25b26657da71da05b09fff48f1329ce936ae022b.tar.gz
wekan-25b26657da71da05b09fff48f1329ce936ae022b.tar.bz2
wekan-25b26657da71da05b09fff48f1329ce936ae022b.zip
Fixed eslint errors
Diffstat (limited to 'models/boards.js')
-rw-r--r--models/boards.js18
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});