dont sent deleted users a mail
All checks were successful
CI/CD Pipeline / test (push) Successful in 7m55s
CI/CD Pipeline / deploy-staging (push) Successful in 3m38s
CI/CD Pipeline / deploy-main (push) Has been skipped

This commit is contained in:
philipp 2024-02-15 22:29:08 +01:00
parent 58b498b9de
commit d0b7f9c76c

View File

@ -51,7 +51,7 @@ WHERE name like ?
FROM user u
JOIN user_role ur ON u.id = ur.user_id
JOIN role r ON ur.role_id = r.id
WHERE r.id = {}",
WHERE r.id = {} AND deleted=0;",
self.id
);