Преглед на файлове

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

David Arnold преди 5 години
родител
ревизия
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 });