From 85ecb92e499744d3cf79e50a54043b2d41193377 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20Pailharey?= <rpailharey@grandlyon.com>
Date: Tue, 16 Apr 2024 09:53:41 +0200
Subject: [PATCH] publish: chore(release): 1.4.0

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

diff --git a/index.js b/index.js
index c514e5e..a099b36 100644
--- a/index.js
+++ b/index.js
@@ -540,7 +540,7 @@ async function getDataHalfHour(url, apiAuthKey, userLogin, pointId) {
   }
 
   // If manual execution, retrieve only 1 week otherwise retrieve 4 weeks
-  const MAX_HISTO = manualExecution ? 1 : 4
+  const MAX_HISTO = 8
 
   for (let i = 0; i < MAX_HISTO; i++) {
     log('info', 'launch process with history')
-- 
GitLab