From 510aaee0ee527d985f7b56aa211c68cbf6091f76 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Fri, 30 Jan 2026 17:30:34 +0700 Subject: [PATCH] fix --- src/controllers/ProfileAvatarController.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/ProfileAvatarController.ts b/src/controllers/ProfileAvatarController.ts index 717f65f5..73374070 100644 --- a/src/controllers/ProfileAvatarController.ts +++ b/src/controllers/ProfileAvatarController.ts @@ -159,6 +159,7 @@ export class ProfileAvatarController extends Controller { "SYS_REGISTRY_OFFICER", _record.profileId, ); + if (_record.isActive) { const profile = await this.profileRepository.findOne({ where: { id: _record.profileId },