From b8556a379200011c8ef9239f86038e37ae3694d0 Mon Sep 17 00:00:00 2001 From: AdisakKanthawilang Date: Tue, 29 Apr 2025 11:42:58 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=AD=E0=B8=B2=E0=B8=AA=E0=B8=B4?= =?UTF-8?q?=E0=B8=97=E0=B8=98=E0=B8=B4=E0=B9=8C=E0=B9=80=E0=B8=AA=E0=B9=89?= =?UTF-8?q?=E0=B8=99=20get=20information/{empid}=20=E0=B8=AD=E0=B8=AD?= =?UTF-8?q?=E0=B8=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/ProfileEmployeeController.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/controllers/ProfileEmployeeController.ts b/src/controllers/ProfileEmployeeController.ts index 39a3b485..78fd3f8a 100644 --- a/src/controllers/ProfileEmployeeController.ts +++ b/src/controllers/ProfileEmployeeController.ts @@ -4776,9 +4776,9 @@ export class ProfileEmployeeController extends Controller { */ @Get("information/{profileEmployeeId}") async getInformationById(@Path() profileEmployeeId: string, @Request() req: RequestWithUser) { - let _workflow = await new permission().Workflow(req, profileEmployeeId, "SYS_REGISTRY_EMP"); - if (_workflow == false) - await new permission().PermissionOrgUserGet(req, "SYS_REGISTRY_EMP", profileEmployeeId); + // let _workflow = await new permission().Workflow(req, profileEmployeeId, "SYS_REGISTRY_EMP"); + // if (_workflow == false) + // await new permission().PermissionOrgUserGet(req, "SYS_REGISTRY_EMP", profileEmployeeId); const profileInformation = await this.profileRepo.findOne({ where: { id: profileEmployeeId }, });