Skip to content

Commit

Permalink
fix: bug dans l'association des uais (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
K4ST0R authored Oct 16, 2024
1 parent 786f4fa commit 0d52d5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/jobs/stats/computeUAI.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ async function computeUAILieuFormation(millesime, result, handleError) {
uai_type: { $ne: "lieu_formation" },
}),
transformData(async (stats) => {
const { uai_type, uai_lieu_formation, uai_formateur, uai_gestionnaire } = stats;
const { uai_type, uai_lieu_formation, uai_formateur, uai_gestionnaire, millesime } = stats;

if (!uai_lieu_formation || uai_lieu_formation.length === 0) {
return [];
Expand Down

0 comments on commit 0d52d5e

Please sign in to comment.