summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-05-14 16:37:41 +0300
committerLauri Ojansivu <x@xet7.org>2019-05-14 16:37:41 +0300
commite611685e503aa608563e106cc10fd4fb8df40a12 (patch)
tree76f80e37cfd9db6911bfabee823633c1297b3529
parent3edef95c4ee4a96a7815bbcd7fabe1b235a753f2 (diff)
downloadwekan-e611685e503aa608563e106cc10fd4fb8df40a12.tar.gz
wekan-e611685e503aa608563e106cc10fd4fb8df40a12.tar.bz2
wekan-e611685e503aa608563e106cc10fd4fb8df40a12.zip
Fix lint errors.
-rw-r--r--server/publications/boards.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/publications/boards.js b/server/publications/boards.js
index f11e776b..cec03858 100644
--- a/server/publications/boards.js
+++ b/server/publications/boards.js
@@ -78,8 +78,8 @@ Meteor.publishRelations('board', function(boardId, isArchived) {
],
// Sort required to ensure oplog usage
}, { limit: 1, sort: { _id: 1 } }), function(boardId, board) {
- this.cursor(Lists.find({ boardId: boardId, archived: isArchived }));
- this.cursor(Swimlanes.find({ boardId: boardId, archived: isArchived }));
+ this.cursor(Lists.find({ boardId, archived: isArchived }));
+ this.cursor(Swimlanes.find({ boardId, archived: isArchived }));
this.cursor(Integrations.find({ boardId }));
this.cursor(CustomFields.find({ boardIds: {$in: [boardId]} }, { sort: { name: 1 } }));