Complete checklist activities

This commit is contained in:
Angelo Gallarello 2018-08-16 21:49:56 +02:00
parent f7446ba934
commit cc285afd59
6 changed files with 124 additions and 0 deletions

View file

@ -101,6 +101,15 @@ if (Meteor.isServer) {
Activities.remove(activity._id);
});
}
Activities.insert({
userId,
activityType: 'removeChecklist',
cardId: doc.cardId,
boardId: Cards.findOne(doc.cardId).boardId,
checklistId: doc._id,
});
});
}