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(); }