From ff8917195f58cd5e7725a2be78c4e154c1b80f4c Mon Sep 17 00:00:00 2001 From: AdisakKanthawilang Date: Wed, 28 Aug 2024 11:36:28 +0700 Subject: [PATCH] fix --- src/controllers/ProfileEmployeeTempController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/ProfileEmployeeTempController.ts b/src/controllers/ProfileEmployeeTempController.ts index 3120d350..c126a2d0 100644 --- a/src/controllers/ProfileEmployeeTempController.ts +++ b/src/controllers/ProfileEmployeeTempController.ts @@ -1100,7 +1100,7 @@ export class ProfileEmployeeTempController extends Controller { } else if (searchField == "position") { queryLike = "profileEmployee.position LIKE :keyword"; } - let _data = await new permission().PermissionOrgList(request, "SYS_REGISTRY_TEMP"); + let _data = await new permission().PermissionList(request, "SYS_REGISTRY_TEMP"); const [record, total] = await this.profileRepo .createQueryBuilder("profileEmployee") .leftJoinAndSelect("profileEmployee.posLevel", "posLevel")