From 53d9e5bdca5c0c4b51f2a02f9d3cbfe3f3f366ec Mon Sep 17 00:00:00 2001
From: Yoan VALLET <ext.sopra.yvallet@grandlyon.com>
Date: Thu, 11 Jun 2020 00:41:46 +0200
Subject: [PATCH] publish: Change doctype to com.grandlyon.enedis.*

generated from commit 66a59bea2341e125c3203c66e9160b4f4dfe5173
---
 index.js | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/index.js b/index.js
index 89ef01a..84bfebd 100644
--- a/index.js
+++ b/index.js
@@ -111,11 +111,9 @@ const startDailyDate = moment()
   .subtract(32, 'month')
   .format('YYYY-MM-DD')
 const startLoadDate = moment()
-  .subtract(8, 'day')
-  .format('YYYY-MM-DD')
-  const endDate = moment()
-  .subtract(1, 'day')
+  .subtract(7, 'day')
   .format('YYYY-MM-DD')
+const endDate = moment().format('YYYY-MM-DD')
 const baseUrl = 'https://gw.prd.api.enedis.fr'
 
 /**
-- 
GitLab