Skip to content
Snippets Groups Projects

US878 feat(rechercherpoint): add two fallback in case of no rechercher point match

Merged Hugo SUBTIL requested to merge feat/868-sge-fallback into main
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
+ 3
3
@@ -10,7 +10,7 @@ const { default: axios } = require('axios')
* @param {string} postalCode
* @param {string} inseeCode
* @param {string} city
* @param {boolean} hasBeenThroughtSafetyOnBoarding
* @param {boolean} safetyOnBoarding
* @returns {Promise<Consent>}
*/
async function createBoConsent(
@@ -23,7 +23,7 @@ async function createBoConsent(
postalCode,
inseeCode,
city,
hasBeenThroughtSafetyOnBoarding
safetyOnBoarding
) {
log('info', `Query createBoConsent`)
const headers = {
@@ -43,7 +43,7 @@ async function createBoConsent(
postalCode,
inseeCode,
city,
hasBeenThroughtSafetyOnBoarding,
safetyOnBoarding,
},
headers
)
Loading