瀏覽代碼

fixup! Ref: Attachments to use modern gridfs (rm localstore)

David Arnold 4 年之前
父節點
當前提交
ac7d16c40f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      server/publications/boards.js

+ 1 - 1
server/publications/boards.js

@@ -235,7 +235,7 @@ Meteor.publishRelations('board', function(boardId, isArchived) {
       cardCommentsLinkedBoard.selector = _ids => ({ boardId: _ids });
       cardCommentsLinkedBoard.selector = _ids => ({ boardId: _ids });
       const cardCommentReactions = this.join(CardCommentReactions);
       const cardCommentReactions = this.join(CardCommentReactions);
       cardCommentReactions.selector = _ids => ({ cardId: _ids });
       cardCommentReactions.selector = _ids => ({ cardId: _ids });
-      const attachments = this.join(Attachments);
+      const attachments = this.join(Attachments.collection);
       attachments.selector = _ids => ({ cardId: _ids });
       attachments.selector = _ids => ({ cardId: _ids });
       const checklists = this.join(Checklists);
       const checklists = this.join(Checklists);
       checklists.selector = _ids => ({ cardId: _ids });
       checklists.selector = _ids => ({ cardId: _ids });