1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-22 22:59:44 +02:00

feat: Log action when user is removed from card

This commit is contained in:
Maksim Eltyshev 2025-05-17 22:24:37 +02:00
parent eeb52d19bb
commit 3aedbff5d0
9 changed files with 86 additions and 17 deletions

View file

@ -70,7 +70,10 @@ module.exports = {
throw Errors.USER_NOT_CARD_MEMBER;
}
const user = await User.qm.getOneById(cardMembership.userId);
cardMembership = await sails.helpers.cardMemberships.deleteOne.with({
user,
project,
board,
list,