เปลี่ยน endpoint/template

This commit is contained in:
Bright 2024-07-04 10:31:07 +07:00
parent 345cea4ebe
commit 01cf95e407

View file

@ -132,7 +132,7 @@ export class ReportController extends Controller {
});
}
@Get("kpi9/{id}")
@Get("kpi-user/{id}")
async GetReportKpi9(@Path() id?: string) {
const kpiUserEvaluation = await this.kpiUserEvaluationRepository.findOne({
relations: ["kpiPeriod"],
@ -216,8 +216,8 @@ export class ReportController extends Controller {
};
return new HttpSuccess({
template: "KPI9",
reportName: "KPI9",
template: "KPIUser",
reportName: "KPIUser",
data: formattedData,
});
}