From 2864bea92ff42ef82e440684e9ae8395e9e10719 Mon Sep 17 00:00:00 2001 From: harid Date: Thu, 9 Apr 2026 17:32:03 +0700 Subject: [PATCH] =?UTF-8?q?fix=20Noti=20=E0=B9=81=E0=B8=88=E0=B9=89?= =?UTF-8?q?=E0=B8=87=E0=B9=80=E0=B8=95=E0=B8=B7=E0=B8=AD=E0=B8=99=E0=B8=9C?= =?UTF-8?q?=E0=B8=B4=E0=B8=94=20#2417?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/DevelopmentRequestController.ts | 1 + src/controllers/ProfileEditController.ts | 1 + src/controllers/ProfileEditEmployeeController.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/src/controllers/DevelopmentRequestController.ts b/src/controllers/DevelopmentRequestController.ts index f629e1d5..138b9a26 100644 --- a/src/controllers/DevelopmentRequestController.ts +++ b/src/controllers/DevelopmentRequestController.ts @@ -321,6 +321,7 @@ export class DevelopmentRequestController extends Controller { } const orgRoot = await this.orgRootRepo.findOne({ select: { + id: true, isDeputy: true }, where: { diff --git a/src/controllers/ProfileEditController.ts b/src/controllers/ProfileEditController.ts index 17b952d8..0b32bd68 100644 --- a/src/controllers/ProfileEditController.ts +++ b/src/controllers/ProfileEditController.ts @@ -335,6 +335,7 @@ export class ProfileEditController extends Controller { } const orgRoot = await this.orgRootRepo.findOne({ select: { + id: true, isDeputy: true }, where: { diff --git a/src/controllers/ProfileEditEmployeeController.ts b/src/controllers/ProfileEditEmployeeController.ts index 288dc724..46468d57 100644 --- a/src/controllers/ProfileEditEmployeeController.ts +++ b/src/controllers/ProfileEditEmployeeController.ts @@ -336,6 +336,7 @@ export class ProfileEditEmployeeController extends Controller { } const orgRoot = await this.orgRootRepo.findOne({ select: { + id: true, isDeputy: true }, where: {