diff --git a/src/controllers/ProfileEmployeeTempController.ts b/src/controllers/ProfileEmployeeTempController.ts index a351cab2..d814e787 100644 --- a/src/controllers/ProfileEmployeeTempController.ts +++ b/src/controllers/ProfileEmployeeTempController.ts @@ -1664,7 +1664,7 @@ export class ProfileEmployeeTempController extends Controller { orgRevisionIsDraft: false, orgRevisionIsCurrent: true, }, - relations: ["employeePosMasters"], + relations: ["employeeTempPosMasters"], }); if (!orgRevision) { throw new HttpError(HttpStatus.NOT_FOUND, "ไม่พบแบบร่างโครงสร้าง");