This commit is contained in:
Warunee Tamkoo 2024-07-17 14:58:56 +07:00
parent f7c5f7d1fe
commit a9fc199f00

View file

@ -216,7 +216,7 @@ export class KpiUserDevelopmentController extends Controller {
@Get("{id}") @Get("{id}")
async GetKpiUserDevelopmentDetail(@Path() id: string) { async GetKpiUserDevelopmentDetail(@Path() id: string) {
const getKpiUserDevelopment = await this.kpiUserDevelopmentRepository.findOne({ const getKpiUserDevelopment = await this.kpiUserDevelopmentRepository.findOne({
relations: ["kpiUserEvaluation", "developmentProject"], relations: ["kpiUserEvaluation", "developmentProjects"],
where: { id: id }, where: { id: id },
}); });
if (!getKpiUserDevelopment) { if (!getKpiUserDevelopment) {