This commit is contained in:
AdisakKanthawilang 2024-04-18 17:24:28 +07:00
parent ad00638b11
commit 6195f56cec

View file

@ -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 });
}
}