diff --git a/index.js b/index.js index c4e1c73f8e81408dcdf43046b59b779e2813e6d3..72fd9624211571a65002cd8b146a4c1d9d86bdf4 100644 --- a/index.js +++ b/index.js @@ -124,8 +124,7 @@ async function start(fields, cozyParameters) { user.firstname, user.address, user.postalCode, - user.inseeCode, - user.city + user.inseeCode ) // handle user contract start date in order to preperly request data @@ -223779,7 +223778,7 @@ function consulterDonneesTechniquesContractuelles(pointId, appLogin) { function rechercherPoint(appLogin, name, postalCode, inseeCode, address) { log( 'info', - `Query rechercherPoint - postal code : ${postalCode} / insee code: ${inseeCode}` + `Query rechercherPoint - postal code / insee code: ${postalCode} / ${inseeCode}` ) return `<?xml version='1.0' encoding='utf-8'?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" @@ -223955,7 +223954,6 @@ const { default: axios } = __webpack_require__(1558) * @param {string} address * @param {string} postalCode * @param {string} inseeCode - * @param {string} city * @returns {Promise<Consent>} */ async function createBoConsent( @@ -223966,8 +223964,7 @@ async function createBoConsent( firstname, address, postalCode, - inseeCode, - city + inseeCode ) { log('info', `Query createBoConsent`) const headers = { @@ -223986,7 +223983,6 @@ async function createBoConsent( address, postalCode, inseeCode, - city, }, headers ) @@ -228463,7 +228459,6 @@ async function verifyUserIdentity( inseeCode, postalCode: fields.postalCode, address: fields.address, - city: fields.city, } } diff --git a/onDeleteAccount.js b/onDeleteAccount.js index bcf1adb79f29339bb6ab03f92806005141bc98f8..ac8ae2862c115bf830d3a697b3efef314b0396bf 100644 --- a/onDeleteAccount.js +++ b/onDeleteAccount.js @@ -223109,7 +223109,7 @@ function consulterDonneesTechniquesContractuelles(pointId, appLogin) { function rechercherPoint(appLogin, name, postalCode, inseeCode, address) { log( 'info', - `Query rechercherPoint - postal code : ${postalCode} / insee code: ${inseeCode}` + `Query rechercherPoint - postal code / insee code: ${postalCode} / ${inseeCode}` ) return `<?xml version='1.0' encoding='utf-8'?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" @@ -223285,7 +223285,6 @@ const { default: axios } = __webpack_require__(1558) * @param {string} address * @param {string} postalCode * @param {string} inseeCode - * @param {string} city * @returns {Promise<Consent>} */ async function createBoConsent( @@ -223296,8 +223295,7 @@ async function createBoConsent( firstname, address, postalCode, - inseeCode, - city + inseeCode ) { log('info', `Query createBoConsent`) const headers = { @@ -223316,7 +223314,6 @@ async function createBoConsent( address, postalCode, inseeCode, - city, }, headers ) diff --git a/package.json b/package.json index 3bab086b5063e6f6c6aa968c754a585ddae37e81..f3d6ad16d5dd0062573b9f8e0a13683c29506860 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "xml2js": "^0.4.23" }, "devDependencies": { - "cozy-jobs-cli": "1.19.1", + "cozy-jobs-cli": "1.19.2", "cozy-konnector-build": "1.3.4", "eslint-config-cozy-app": "1.3.3", "eslint-plugin-prettier": "^4.0.0",