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

This commit is contained in:
Adisak 2025-11-12 17:28:32 +07:00
parent 85121ffae8
commit 043a2d344e

View file

@ -4310,9 +4310,9 @@ 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");
// }
await removeProfileInOrganize(profile.id, "OFFICER");
}
const clearProfile = await checkCommandType(String(item.commandId));