Browse Source

fixup! Ref: original & and use fileObj.meta

David Arnold 4 years ago
parent
commit
e2f7b94cde
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/lib/utils.js

+ 1 - 1
client/lib/utils.js

@@ -163,7 +163,7 @@ Utils = {
     );
     );
   },
   },
   getCommonAttachmentMetaFrom(card) {
   getCommonAttachmentMetaFrom(card) {
-    let meta;
+    const meta = {};
     if (card.isLinkedCard()) {
     if (card.isLinkedCard()) {
       meta.boardId = Cards.findOne(card.linkedId).boardId;
       meta.boardId = Cards.findOne(card.linkedId).boardId;
       meta.cardId = card.linkedId;
       meta.cardId = card.linkedId;