From bca7a94f26d94cce9bef6f1edf0420ebec4a7602 Mon Sep 17 00:00:00 2001 From: Bright Date: Wed, 31 Jan 2024 15:24:28 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20path=20=E0=B8=A5?= =?UTF-8?q?=E0=B8=9A=E0=B8=95=E0=B8=B3=E0=B9=81=E0=B8=AB=E0=B8=99=E0=B9=88?= =?UTF-8?q?=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/PositionController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/PositionController.ts b/src/controllers/PositionController.ts index 469779ff..89909974 100644 --- a/src/controllers/PositionController.ts +++ b/src/controllers/PositionController.ts @@ -246,7 +246,7 @@ export class PositionController extends Controller { * * @param {string} id Id ตำแหน่ง */ - @Delete("{id}") + @Delete("position/{id}") async delete(@Path() id: string) { const delPosDict = await this.posDictRepository.findOne({ where: { id } }); if (!delPosDict) {