diff --git a/index.js b/index.js index 5f07203cdad29199c1a3278c4347d156241c5f3e..2077045808470f525c58ab69c4cb464bfb5a49a3 100644 --- a/index.js +++ b/index.js @@ -214,9 +214,10 @@ async function authenticate(login, password, baseUrl, apiAuthKey) { }), } try { + log('debug', 'REQUETE : ' + authRequest) const data = await fetch(baseUrl + '/connect.aspx', authRequest) + log('debug', 'DATA : ' + data) const response = await data.json() - log('debug', authRequest) log('debug', response) if (response.codeRetour === 100) {