From 1e309bb83b5ad715fe6692b786a31f9c3524b349 Mon Sep 17 00:00:00 2001
From: git-directory-deploy <>
Date: Wed, 27 Jan 2021 14:51:46 +0100
Subject: [PATCH] publish:  consent for load curve data and manual execution

generated from commit 1ca126af82b1ff8cf8dab48e199e0315e9dc4e80
---
 index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.js b/index.js
index a796f27..e70c087 100644
--- a/index.js
+++ b/index.js
@@ -242,7 +242,7 @@ async function startLoadDataProcess(token, usagePointID) {
     log('info', 'Check history')
     const isHistory = await isHistoryLoaded('com.grandlyon.enedis.minute')
     log('info', `isHistory: ${isHistory}`)
-    if (isHistory || manualExecution) {
+    if (isHistory) {
       log('info', 'launch process without history')
       await launchLoadDataProcess(
         token,
-- 
GitLab