fix: typo
This commit is contained in:
parent
35adc4b43a
commit
730ebd6907
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue