Skip to content

Commit

Permalink
fix: importation des indicateurs régionaux
Browse files Browse the repository at this point in the history
  • Loading branch information
K4ST0R committed Jan 7, 2025
1 parent 84f08e4 commit 4372f2c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions server/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
.env
.nyc_output/
fuseIndex.json

tools/
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ async function importIndicateurs() {
await RawDataRepository.search(RawDataType.EXPOSITION_regionales),
filterData(({ data: { data } }) => {
return (
(data.code_certification_type === "mef11" || data.code_certification_type === "cfd") &&
data.donnee_source.type === "self" &&
(data?.code_certification_type === "mef11" || data?.code_certification_type === "cfd") &&
data?.donnee_source?.type === "self" &&
!isNil(data.taux_en_emploi_6_mois)
);
}),
Expand Down

0 comments on commit 4372f2c

Please sign in to comment.