From 1132840554277f4e66e76052331a630ecd94e4f7 Mon Sep 17 00:00:00 2001 From: AdisakKanthawilang Date: Fri, 2 May 2025 16:01:13 +0700 Subject: [PATCH] fix --- src/controllers/KpiPlanController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/KpiPlanController.ts b/src/controllers/KpiPlanController.ts index e3dfd54..cfdcd88 100644 --- a/src/controllers/KpiPlanController.ts +++ b/src/controllers/KpiPlanController.ts @@ -243,7 +243,7 @@ export class kpiPlanController extends Controller { .andWhere("kpiPeriod.durationKPI = :durationKPI", { durationKPI: requestBody.period }) .getOne(); if (!kpiPeriod) { - throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลตัวชี้วัดตามตำแหน่งนี้"); + throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลรอบการประเมินนี้"); } } Object.assign(kpiPlan, requestBody);