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

fixup! Ref: original & and use fileObj.meta

David Arnold преди 4 години
родител
ревизия
b05fa636ea
променени са 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) {
       const cardCommentReactions = this.join(CardCommentReactions);
       cardCommentReactions.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);