From 44038e549730322726aeea4a9e930591700cc41f Mon Sep 17 00:00:00 2001 From: Adisak Date: Thu, 30 Oct 2025 10:55:46 +0700 Subject: [PATCH] test comment _workflow privilage validate --- src/controllers/ProfileAvatarController.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/controllers/ProfileAvatarController.ts b/src/controllers/ProfileAvatarController.ts index c3980c38..5842fd3c 100644 --- a/src/controllers/ProfileAvatarController.ts +++ b/src/controllers/ProfileAvatarController.ts @@ -30,9 +30,9 @@ export class ProfileAvatarController extends Controller { @Get("profileId/{id}") async getProfile(@Path() id: string, @Request() req: RequestWithUser) { try { - let _workflow = await new permission().Workflow(req, id, "SYS_REGISTRY_OFFICER"); - if (_workflow == false) - await new permission().PermissionOrgUserGet(req, "SYS_REGISTRY_OFFICER", id); + // let _workflow = await new permission().Workflow(req, id, "SYS_REGISTRY_OFFICER"); + // if (_workflow == false) + await new permission().PermissionOrgUserGet(req, "SYS_REGISTRY_OFFICER", id); const profile = await this.profileRepository.findOne({ where: { id }, });