From 6198da930ae777992fec9033a97fe1447a1bc810 Mon Sep 17 00:00:00 2001 From: Hugo SUBTIL <ext.sopra.husubtil@grandlyon.com> Date: Wed, 5 Oct 2022 11:21:31 +0200 Subject: [PATCH] fix: var name --- src/requests/bo.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/requests/bo.js b/src/requests/bo.js index 6b2c839..c4805cc 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 ) -- GitLab