diff --git a/src/controllers/03-employee-controller.ts b/src/controllers/03-employee-controller.ts index e70a98c..284528a 100644 --- a/src/controllers/03-employee-controller.ts +++ b/src/controllers/03-employee-controller.ts @@ -384,7 +384,7 @@ export class EmployeeController extends Controller { ]); if (body.provinceId !== province?.id) throw relationError("Province"); if (body.districtId !== district?.id) throw relationError("District"); - if (body.subDistrictId !== subDistrict?.id) throw relationError("Sub-district"); + if (body.subDistrictId !== subDistrict?.id) throw relationError("SubDistrict"); if (!customerBranch) throw relationError("Customer Branch"); await permissionCheck(req.user, customerBranch.customer.registeredBranch);