From 557aed6a3842150a8fa5111ca44ecb0790303196 Mon Sep 17 00:00:00 2001 From: David Arnold Date: Wed, 16 Sep 2020 15:17:47 -0500 Subject: [PATCH] fixup! Ref: Attachments to use modern gridfs (rm localstore) --- server/publications/boards.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 });