Skip to content
Snippets Groups Projects
Commit 5e5e497a authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

fix: handle city/postalcode checking

parent e8d82431
No related branches found
No related tags found
1 merge request!12Feat/donnes tech debut contrat
......@@ -17,7 +17,7 @@ async function verifyUserIdentity(
apiAuthKey,
loginUtilisateur
) {
const inseeCode = await getInseeCode(fields.postalCode)
const inseeCode = await getInseeCode(fields.postalCode, fields.city)
const pdl = await findUserPdl(
`${baseUrl}/enedis_SDE_recherche-point/1.0`,
......
function iSLocal() {
console.log(process.env.NODE_ENV)
return (
process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'local'
process.env.NODE_ENV === 'development' ||
process.env.NODE_ENV === 'local' ||
process.env.NODE_ENV === 'standalone'
)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment