This commit is contained in:
AdisakKanthawilang 2024-03-04 14:54:15 +07:00
parent 2bb68463be
commit 5e2e13d8e8
9 changed files with 12 additions and 13 deletions

View file

@ -58,7 +58,7 @@ export class OrgChild4Controller extends Controller {
relations: ["orgRoot", "orgChild1", "orgChild2", "orgChild3"],
});
if (!orgChild4) {
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูล โครงสร้างระดับ 4");
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลโครงสร้างระดับ 4");
}
const getOrgChild4 = {
orgChild4Id: orgChild4.id,