log
Some checks failed
release / release (push) Failing after 9s

This commit is contained in:
Adisak 2025-11-12 17:50:42 +07:00
parent 043a2d344e
commit 3d689ff19c
2 changed files with 20 additions and 10 deletions

View file

@ -4310,10 +4310,12 @@ export class CommandController extends Controller {
lastUpdatedAt: new Date(),
};
if (item.isLeave != undefined && item.isLeave == true) {
// if(orgRevisionRef){
// await CreatePosMasterHistoryOfficer(orgRevisionRef.id, req, "DELETE");
// }
if(orgRevisionRef){
await CreatePosMasterHistoryOfficer(orgRevisionRef.id, req, "DELETE");
}
console.log("A");
await removeProfileInOrganize(profile.id, "OFFICER");
console.log("Z");
}
const clearProfile = await checkCommandType(String(item.commandId));
const _null: any = null;