diff --git a/server/publications/boards.js b/server/publications/boards.js index 2fc3dc915..a21703103 100644 --- a/server/publications/boards.js +++ b/server/publications/boards.js @@ -133,7 +133,7 @@ Meteor.publishRelations('board', function(boardId, isArchived) { // Gather queries and send in bulk const cardComments = this.join(CardComments); cardComments.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 });