浏览代码

Fix lint errors.

Lauri Ojansivu 6 年之前
父节点
当前提交
e611685e50
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      server/publications/boards.js

+ 2 - 2
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 } }));