fix keycloak user & update isDelete
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m1s

This commit is contained in:
Warunee Tamkoo 2026-04-02 16:32:29 +07:00
parent 212360a764
commit fb4196cfa2
9 changed files with 445 additions and 354 deletions

View file

@ -121,7 +121,7 @@ export class ProfileChangeNameEmployeeController extends Controller {
await this.profileEmployeeRepo.save(profile, { data: req });
setLogDataDiff(req, { before, after: profile });
if (profile != null && profile.keycloak != null) {
if (profile != null && profile.keycloak != null && profile.isDelete === false) {
const result = await updateName(
profile.keycloak,
profile.firstName,