From 490c76060df212b8080d70cb0eee5bb1683dcdf5 Mon Sep 17 00:00:00 2001 From: kittapath Date: Wed, 6 Nov 2024 16:23:46 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=A3=E0=B8=B1=E0=B8=81=E0=B8=A9=E0=B8=B2?= =?UTF-8?q?=E0=B8=81=E0=B8=B2=E0=B8=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/ProfileController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/ProfileController.ts b/src/controllers/ProfileController.ts index e623570b..4cb3a8f8 100644 --- a/src/controllers/ProfileController.ts +++ b/src/controllers/ProfileController.ts @@ -1369,7 +1369,7 @@ export class ProfileController extends Controller { if (body.isDirector == true) { condition = { orgRootId: posMaster.orgRootId || "", - isDirectorChild: true, + isDirector: true, }; } const [lists, total] = await AppDataSource.getRepository(viewDirectorActing)