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

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

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