diff --git a/index.js b/index.js index 177887cc2b3aaac22df50aa13909ba0d69a5f01e..4f52d303c1371358b696dc1d12480ce80f199e7e 100644 --- a/index.js +++ b/index.js @@ -85,10 +85,10 @@ 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,