From 5ae2b4ea7707e93f5aed4be88c4cb6f7653506d8 Mon Sep 17 00:00:00 2001 From: Hugo SUBTIL <ext.sopra.husubtil@grandlyon.com> Date: Thu, 6 Oct 2022 16:14:43 +0200 Subject: [PATCH] publish: Merge branch 'feat/US858-Save-expiration-date' into 'main' generated from commit 14be798c25994591f31b054bcc2f003841adea7d --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index bb78c99..2b3b6e1 100644 --- a/index.js +++ b/index.js @@ -228364,7 +228364,7 @@ async function verifyContract(url, apiAuthKey, appLogin, contractId, pointId) { if (Array.isArray(currentContracts)) { currentContract = parseContracts(parsedReply)[0] } else { - currentContract = parseContracts(parsedReply) + currentContract = currentContracts } if ( (currentContract.etatCode === contractState.ACTIF || @@ -228447,7 +228447,7 @@ async function findUserPdl( inseeCode, escalierEtEtageEtAppartement = '' ) { - log('info', 'Fetching user data') + log('info', 'Fetching user pdl') const sgeHeaders = { 'Content-Type': 'text/xml;charset=UTF-8', apikey: apiAuthKey, -- GitLab