diff --git a/src/controllers/EmployeePositionController.ts b/src/controllers/EmployeePositionController.ts index 934de2e3..58c1160d 100644 --- a/src/controllers/EmployeePositionController.ts +++ b/src/controllers/EmployeePositionController.ts @@ -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, "ไม่พบข้อมูล");