diff --git a/models/cards.js b/models/cards.js index ddc9aa72a..166bbf0cb 100644 --- a/models/cards.js +++ b/models/cards.js @@ -585,8 +585,8 @@ Cards.helpers({ // Copy attachments oldCard.attachments().forEach(att => { att.cardId = _id; + Attachments.insert(att); delete att._id; - return Attachments.insert(att); }); // copy checklists