เปลี่ยน endpoint/template
This commit is contained in:
parent
345cea4ebe
commit
01cf95e407
1 changed files with 3 additions and 3 deletions
|
|
@ -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,
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue