diff --git a/src/requests/bo.js b/src/requests/bo.js index 6b2c839adeb65f75484e0043fc66fd3fcaba9599..c4805cc9e441916046afb4a63e6462a3a6ae04aa 100644 --- a/src/requests/bo.js +++ b/src/requests/bo.js @@ -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 )