Merge branch 'adiDev' into develop

This commit is contained in:
AdisakKanthawilang 2025-05-06 17:57:38 +07:00
commit 397c39f92a

View file

@ -10081,10 +10081,9 @@ export class ProfileController extends Controller {
profile.isActive = false; profile.isActive = false;
} }
} }
await this.profileRepo.save(profile, { data: request }); await this.profileRepo.save(profile, { data: request });
setLogDataDiff(request, { before, after: profile }); setLogDataDiff(request, { before, after: profile });
await removeProfileInOrganize(profile.id, "OFFICER");
return new HttpSuccess(); return new HttpSuccess();
} }