fix: branch code

This commit is contained in:
puriphat 2024-06-14 05:44:03 +00:00
parent c978d3adec
commit 5cc0f1c659
3 changed files with 24 additions and 24 deletions

View file

@ -116,7 +116,7 @@ export class BranchUserController extends Controller {
throw new HttpError(
HttpStatus.BAD_REQUEST,
"Branch cannot be found.",
"missing_or_invalid_parameter",
"branchBadReq",
);
}
@ -124,7 +124,7 @@ export class BranchUserController extends Controller {
throw new HttpError(
HttpStatus.BAD_REQUEST,
"One or more user cannot be found.",
"missing_or_invalid_parameter",
"oneOrMoreUserBadReq",
);
}
@ -234,7 +234,7 @@ export class UserBranchController extends Controller {
throw new HttpError(
HttpStatus.BAD_REQUEST,
"One or more branch cannot be found.",
"missing_or_invalid_parameter",
"oneOrMoreBranchBadReq",
);
}