mirror of
https://github.com/plankanban/planka.git
synced 2025-12-20 09:15:39 +03:00
feat: Log action when user is removed from card
This commit is contained in:
@@ -76,7 +76,7 @@ module.exports = {
|
||||
const isBoardMember = await sails.helpers.users.isBoardMember(user.id, board.id);
|
||||
|
||||
if (!isBoardMember) {
|
||||
throw Errors.USER_NOT_FOUND;
|
||||
throw Errors.USER_NOT_FOUND; // Forbidden
|
||||
}
|
||||
|
||||
const cardMembership = await sails.helpers.cardMemberships.createOne
|
||||
|
||||
Reference in New Issue
Block a user