This commit is contained in:
Warunee Tamkoo 2026-01-30 17:30:34 +07:00
parent 84fb85ef3a
commit 510aaee0ee

View file

@ -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 },