diff --git a/index.js b/index.js index cefbb56e814cc26a22598323a38c40395da5ac4d..aa94f5f9e80fa3d7af317f97cfe9c14d831d95f6 100644 --- a/index.js +++ b/index.js @@ -216,8 +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) + log('debug', 'REQUETE' + JSON.stringify(authRequest)) + log('debug', 'REPONSE' + JSON.stringify(response)) if (response.codeRetour === 100) { return response