format
This commit is contained in:
parent
ad00638b11
commit
6195f56cec
1 changed files with 6 additions and 1 deletions
|
|
@ -91,6 +91,11 @@ async updateKpiEvaluations(
|
|||
level: "DESC"}
|
||||
});
|
||||
|
||||
return new HttpSuccess({ data: kpiEvaluation, total });
|
||||
const formatted = kpiEvaluation.map((item) => ({
|
||||
id: item.id,
|
||||
level: item.level,
|
||||
description: item.description
|
||||
}));
|
||||
return new HttpSuccess({ data: formatted, total });
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue