fix
This commit is contained in:
parent
36e8a796c7
commit
29f4326e9b
1 changed files with 1 additions and 1 deletions
|
|
@ -227,7 +227,7 @@ export class EmployeePositionController extends Controller {
|
|||
@Get("position/{id}")
|
||||
async detailPosition(@Path() id: string) {
|
||||
const posMaster = await this.employeePosMasterRepository.findOne({
|
||||
where: { id },
|
||||
where: { id:id },
|
||||
});
|
||||
if (!posMaster) {
|
||||
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูล");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue