From 41fb5288ced32fe2d9799f283ed507cebd0ec5e9 Mon Sep 17 00:00:00 2001 From: AdisakKanthawilang Date: Wed, 19 Jun 2024 16:44:14 +0700 Subject: [PATCH] fix word --- src/controllers/KpiUserEvaluationController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/KpiUserEvaluationController.ts b/src/controllers/KpiUserEvaluationController.ts index 4e09d40..864096c 100644 --- a/src/controllers/KpiUserEvaluationController.ts +++ b/src/controllers/KpiUserEvaluationController.ts @@ -464,8 +464,8 @@ export class KpiUserEvaluationController extends Controller { level: levelForGourp, weight: 100, }) - .catch((x) => { - throw new HttpError(HttpStatusCode.NOT_FOUND, x); + .catch((error) => { + throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่สามารถสร้างข้อมูลสมรรถนะได้"); }); } }