From 92147c1cfe2e4e2b4bea5e277e29042558ff594f Mon Sep 17 00:00:00 2001
From: git-directory-deploy <>
Date: Wed, 16 Dec 2020 14:38:51 +0100
Subject: [PATCH] publish: feat: handle the date for history

generated from commit 5dcbe37f4618c76e3d6af39be19354eba67f629e
---
 index.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/index.js b/index.js
index 2452248..fbdf909 100644
--- a/index.js
+++ b/index.js
@@ -235,9 +235,9 @@ async function startLoadDataProcess(token, usagePointID) {
     )
   } else {
     log('info', 'launch process with history')
-    const increamentedStartDate = startLoadDate
-    const incrementedEndDate = endDate
     for (var i = 0; i < 4; i++) {
+      const increamentedStartDate = startLoadDate
+      const incrementedEndDate = endDate
       await launchLoadDataProcess(
         token,
         usagePointID,
-- 
GitLab