Skip to content

Commit

Permalink
feat: use professional email only
Browse files Browse the repository at this point in the history
  • Loading branch information
rdubigny committed Sep 20, 2024
1 parent 5a6d2df commit a6c1f7b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/import-accounts-coop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,11 @@ const maxInseeCallRateInMs = rateInMsFromArgs !== 0 ? rateInMsFromArgs : 125;
prenom: given_name,
nom: family_name,
téléphone: phone_number,
email: personnal_email,
coordinateur,
"email professionnel secondaire": professional_email,
"SIRET structure": siret,
} = data;
const email = professional_email || personnal_email;
const email = professional_email;
logger.info(`${i}: processing ${email}...`);
// 0. params validation
if (!isEmailValid(email)) {
Expand Down

0 comments on commit a6c1f7b

Please sign in to comment.