Преглед изворни кода

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 });
       const cardCommentReactions = this.join(CardCommentReactions);
       cardCommentReactions.selector = _ids => ({ cardId: _ids });
-      const attachments = this.join(Attachments);
+      const attachments = this.join(Attachments.collection);
       attachments.selector = _ids => ({ cardId: _ids });
       const checklists = this.join(Checklists);
       checklists.selector = _ids => ({ cardId: _ids });