Skip to content

Commit

Permalink
ajout de l'entête des colonnes
Browse files Browse the repository at this point in the history
  • Loading branch information
morgan committed Sep 19, 2023
1 parent 9e04b38 commit d7fd0f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tasks/correction/correctionDoublonsPermanences.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ execute(__filename, async ({ logger, dbDatalake }) => {

logger.info('Modification des ids suite à la fusion des doublons de permanences');

//eslint-disable-next-line max-len
//idPermanence|estStructure|nomEnseigne|numeroTelephone|email|siteWeb|siret|adresse|location|horaires|typeAcces|conseillers|lieuPrincipalPour|conseillersItinerants|structure|updatedAt|updatedBy|doublons
fs.createReadStream('data/imports/permanences-doublons.csv')
.pipe(csv({ separator: ';' }))
.on('data', data => permanences.push(data))
Expand All @@ -36,6 +38,6 @@ execute(__filename, async ({ logger, dbDatalake }) => {
});
Promise.all(promises);
});

logger.info(`${nbMaj} CRAs mis à jour`);
});

0 comments on commit d7fd0f8

Please sign in to comment.