Explorar el Código

fixup! Ref: original & and use fileObj.meta

David Arnold hace 4 años
padre
commit
e2f7b94cde
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      client/lib/utils.js

+ 1 - 1
client/lib/utils.js

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