From 67c54e3273657bb80c0def04f94d4e5ee1a8e483 Mon Sep 17 00:00:00 2001 From: AdisakKanthawilang Date: Wed, 15 May 2024 13:44:17 +0700 Subject: [PATCH] fix word --- src/controllers/ProfileController.ts | 4 ++-- src/controllers/ProfileEmployeeController.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/controllers/ProfileController.ts b/src/controllers/ProfileController.ts index b8f7c3d2..14be5ee6 100644 --- a/src/controllers/ProfileController.ts +++ b/src/controllers/ProfileController.ts @@ -196,7 +196,7 @@ export class ProfileController extends Controller { } if (body.citizenId.length !== 13) { - throw new HttpError(HttpStatus.NOT_FOUND, "รหัสบัตรประจำตัวประชาชนไม่ถูกต้อง"); + throw new HttpError(HttpStatus.NOT_FOUND, "กรุณากรอกข้อมูลรหัสบัตรประจำตัวประชาชนให้ครบ 13 หลัก"); } if (body.citizenId) { @@ -330,7 +330,7 @@ export class ProfileController extends Controller { } if (body.citizenId && body.citizenId.length !== 13) { - throw new HttpError(HttpStatus.NOT_FOUND, "รหัสบัตรประจำตัวประชาชนไม่ถูกต้อง"); + throw new HttpError(HttpStatus.NOT_FOUND, "กรุณากรอกข้อมูลรหัสบัตรประจำตัวประชาชนให้ครบ 13 หลัก"); } if (body.citizenId) { diff --git a/src/controllers/ProfileEmployeeController.ts b/src/controllers/ProfileEmployeeController.ts index 2a569c72..878206cd 100644 --- a/src/controllers/ProfileEmployeeController.ts +++ b/src/controllers/ProfileEmployeeController.ts @@ -75,7 +75,7 @@ export class ProfileEmployeeController extends Controller { } if (body.citizenId.length !== 13) { - throw new HttpError(HttpStatus.NOT_FOUND, "รหัสบัตรประจำตัวประชาชนไม่ถูกต้อง"); + throw new HttpError(HttpStatus.NOT_FOUND, "กรุณากรอกข้อมูลรหัสบัตรประจำตัวประชาชนให้ครบ 13 หลัก"); } if (body.citizenId) { @@ -153,7 +153,7 @@ export class ProfileEmployeeController extends Controller { throw new HttpError(HttpStatus.NOT_FOUND, "ไม่พบข้อมูลประเภทตำแหน่งนี้"); } if (body.citizenId && body.citizenId.length !== 13) { - throw new HttpError(HttpStatus.NOT_FOUND, "รหัสบัตรประจำตัวประชาชนไม่ถูกต้อง"); + throw new HttpError(HttpStatus.NOT_FOUND, "กรุณากรอกข้อมูลรหัสบัตรประจำตัวประชาชนให้ครบ 13 หลัก"); } if (body.citizenId) {