From 277c60864d269e843ed6d9ea2309e85207d0e186 Mon Sep 17 00:00:00 2001 From: Kittapath Date: Wed, 31 Jan 2024 16:11:49 +0700 Subject: [PATCH] no message --- src/controllers/PositionController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/PositionController.ts b/src/controllers/PositionController.ts index 89909974..31cfa19d 100644 --- a/src/controllers/PositionController.ts +++ b/src/controllers/PositionController.ts @@ -626,8 +626,8 @@ export class PositionController extends Controller { * @summary ORG_037 - รายละเอียดอัตรากำลัง (ADMIN) #36 * */ - @Get("master/{id}") - async detail(@Path() id: string) { + @Get("position/{id}") + async detailPosition(@Path() id: string, @Query("isAll") isAll?: string) { try { const posMaster = await this.posMasterRepository.findOne({ where: { id },