Skip to content

Commit

Permalink
fix: donnee source dans le continuum
Browse files Browse the repository at this point in the history
  • Loading branch information
K4ST0R committed Dec 17, 2024
1 parent bbe79f5 commit 72e5cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/jobs/stats/computeContinuumStats.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export async function computeContinuumStats(options = {}) {

await oleoduc(
mergeStreams(stats.map(streamStats)),
filterData(({ data }) => data?.donnee_source.type === "self" && (!millesime || data.millesime === millesime)),
filterData(({ data }) => data?.donnee_source?.type === "self" && (!millesime || data.millesime === millesime)),
transformData(async ({ data, statName }) => {
const query = { ...getQueryForStats({ data, statName, millesime: data.millesime }) };

Expand Down

0 comments on commit 72e5cdc

Please sign in to comment.