Sfoglia il codice sorgente

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

David Arnold 4 anni fa
parent
commit
50990b6e6a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      server/publications/boards.js

+ 1 - 1
server/publications/boards.js

@@ -236,7 +236,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 });