Merge branch 'develop' of github.com:Frappet/bma-ehr-organization into develop

This commit is contained in:
Kittapath 2024-03-15 11:46:45 +07:00
commit 912a8237e6

View file

@ -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, "ไม่พบข้อมูล");