diff --git a/index.js b/index.js index 24522480c4d5905dd5918084f9ea484bfec2f064..fbdf9097ebf381aa517fd97aba49dec9f6abafd3 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,