From dbdf3b454f2af2b16c37326fee16e2176ffd32a2 Mon Sep 17 00:00:00 2001 From: AdisakKanthawilang Date: Tue, 6 May 2025 17:56:05 +0700 Subject: [PATCH] #118 --- src/controllers/ProfileController.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/controllers/ProfileController.ts b/src/controllers/ProfileController.ts index d487e220..5621ec48 100644 --- a/src/controllers/ProfileController.ts +++ b/src/controllers/ProfileController.ts @@ -10081,10 +10081,9 @@ export class ProfileController extends Controller { profile.isActive = false; } } - await this.profileRepo.save(profile, { data: request }); setLogDataDiff(request, { before, after: profile }); - + await removeProfileInOrganize(profile.id, "OFFICER"); return new HttpSuccess(); }