From 043a2d344efdb6a2132439150ddc83bce9dc16e0 Mon Sep 17 00:00:00 2001 From: Adisak Date: Wed, 12 Nov 2025 17:28:32 +0700 Subject: [PATCH] fix --- src/controllers/CommandController.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/controllers/CommandController.ts b/src/controllers/CommandController.ts index 29b9533c..42aab934 100644 --- a/src/controllers/CommandController.ts +++ b/src/controllers/CommandController.ts @@ -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));