From 91e6665a50cd233232db2a6688ac6a6af3e1de42 Mon Sep 17 00:00:00 2001 From: AdisakKanthawilang Date: Mon, 11 Mar 2024 11:49:38 +0700 Subject: [PATCH] fix --- src/controllers/OrgRootController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/OrgRootController.ts b/src/controllers/OrgRootController.ts index ae46c876..8b11eec0 100644 --- a/src/controllers/OrgRootController.ts +++ b/src/controllers/OrgRootController.ts @@ -108,7 +108,7 @@ export class OrgRootController extends Controller { where: { orgRevisionId: requestBody.orgRevisionId, orgRootCode: requestBody.orgRootCode }, }); if (chkCode != null) { - throw new HttpError(HttpStatusCode.NOT_FOUND, "รหัสส่วนราชการนี้มีอยู่ในระบบแล้ว"); + throw new HttpError(HttpStatusCode.NOT_FOUND, "รหัสหน่วยงานนี้มีอยู่ในระบบแล้ว"); } const orgRevision = await this.orgRevisionRepository.findOne({