Explorar o código

fixup! Ref: original & and use fileObj.meta

David Arnold %!s(int64=4) %!d(string=hai) anos
pai
achega
e2f7b94cde
Modificáronse 1 ficheiros con 1 adicións e 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;