From 197098d590d0358cb4ae1b1ecd97ce5a91b98aca Mon Sep 17 00:00:00 2001 From: git-directory-deploy <> Date: Thu, 14 May 2020 17:01:29 +0200 Subject: [PATCH] Set usage point id for test purpose --- src/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index 4021292..3252758 100644 --- a/src/index.js +++ b/src/index.js @@ -32,8 +32,9 @@ const baseUrl = 'https://gw.hml.api.enedis.fr' async function start(fields) { try { const { access_token } = fields - const { oauth_callback_results } = fields - const usage_point_id = oauth_callback_results.usage_point_id + // const { oauth_callback_results } = fields + // const usage_point_id = oauth_callback_results.usage_point_id + const usage_point_id = 22516914714270 log('info', 'Fetching enedis daily data') const fetchedDailyData = await getDailyData(access_token, usage_point_id) -- GitLab