diff --git a/index.js b/index.js index 3f37d1905ab5a894b5b9018789571dbf7c197583..4ba4bba53a1e22dd5ba2ef0ac2e6c1b21f474261 100644 --- a/index.js +++ b/index.js @@ -140,10 +140,10 @@ module.exports = new BaseKonnector(start) async function start(fields, cozyParameters) { try { // Local debug data - // const baseUrl = fields.eglBaseURL - // const apiAuthKey = fields.eglAPIAuthKey - const baseUrl = cozyParameters.secret.eglBaseURL - const apiAuthKey = cozyParameters.secret.eglAPIAuthKey + const baseUrl = fields.eglBaseURL + const apiAuthKey = fields.eglAPIAuthKey + // const baseUrl = cozyParameters.secret.eglBaseURL + // const apiAuthKey = cozyParameters.secret.eglAPIAuthKey log('info', 'Authenticating ...') const response = await authenticate( fields.login,