From 803dd9f58e97dad62cb686f3ae86c8c14cd5588d Mon Sep 17 00:00:00 2001 From: git-directory-deploy <> Date: Thu, 8 Oct 2020 11:28:42 +0200 Subject: [PATCH] publish: fix - enedis slug when calling a refresh token generated from commit c5d272b94ce8352aa9be096bac44b56b31485238 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 3c498ac..8ab0f7f 100644 --- a/index.js +++ b/index.js @@ -184,7 +184,7 @@ async function start(fields, cozyParameters, doRetry = true) { try { body = await cozyClient.fetchJSON( 'POST', - `/accounts/enedis-konnector/${accountId}/refresh` + `/accounts/enedisgrandlyon/${accountId}/refresh` ) } catch (err) { log('info', `Error during refresh ${err.message}`) -- GitLab