From a91bcf14d6a1930d7de942cdf09209beaf733dc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Pailharey?= <rpailharey@grandlyon.com> Date: Wed, 11 Jan 2023 16:18:59 +0100 Subject: [PATCH] publish: fix: updated build dependencies generated from commit bf3079828709d34b56d3eaab32f98b1d9a388d1f --- index.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index 317123f..cefbb56 100644 --- a/index.js +++ b/index.js @@ -89,10 +89,6 @@ async function start(fields, cozyParameters) { // const apiAuthKey = fields.eglAPIAuthKey const baseUrl = cozyParameters.secret.eglBaseURL const apiAuthKey = cozyParameters.secret.eglAPIAuthKey - log('debug', baseUrl) - log('debug', apiAuthKey) - log('debug', fields.login) - log('debug', fields.password) log('info', 'Authenticating ...') const response = await authenticate( @@ -220,6 +216,8 @@ async function authenticate(login, password, baseUrl, apiAuthKey) { try { const data = await fetch(baseUrl + '/connect.aspx', authRequest) const response = await data.json() + log('debug', 'REQUEST : ' + authRequest) + log('debug', 'RESPONSE : ' + response) if (response.codeRetour === 100) { return response -- GitLab