Skip to content

Commit

Permalink
Fix card deletion from archive
Browse files Browse the repository at this point in the history
  • Loading branch information
andresmanelli committed Mar 5, 2019
1 parent 1bef3a3 commit 77754cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/cards.js
Expand Up @@ -1421,8 +1421,8 @@ function cardRemover(userId, doc) {
Checklists.remove({
cardId: doc._id,
});
Subtasks.remove({
cardId: doc._id,
Cards.remove({
parentId: doc._id,
});
CardComments.remove({
cardId: doc._id,
Expand Down

0 comments on commit 77754cf

Please sign in to comment.