From ce2b83258af600e464c436538035ed23ff2297c4 Mon Sep 17 00:00:00 2001 From: David Arnold Date: Wed, 16 Sep 2020 18:56:45 -0500 Subject: [PATCH] fixup! Ref: original & and use fileObj.meta --- 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 ae82d28ca..f8ade875d 100644 --- a/server/publications/boards.js +++ b/server/publications/boards.js @@ -132,7 +132,7 @@ Meteor.publishRelations('board', function(boardId, isArchived) { const cardComments = this.join(CardComments); cardComments.selector = _ids => ({ cardId: _ids }); const attachments = this.join(Attachments.collection); - attachments.selector = _ids => ({ cardId: _ids }); + attachments.selector = _ids => ({ 'meta.cardId': _ids }); const checklists = this.join(Checklists); checklists.selector = _ids => ({ cardId: _ids }); const checklistItems = this.join(ChecklistItems);