From 11116b0a36d55bb6f2dcedd4511f096304c22d3e Mon Sep 17 00:00:00 2001
From: gcarron <gcarron@grandlyon.com>
Date: Mon, 19 Sep 2022 14:40:58 +0200
Subject: [PATCH] publish: Update .gitlab/merge_request_templates/default.md

generated from commit a24a43e189b99de70d5f93e9d454ff2060b8684f
---
 services/consumptionAlert/ecolyo.js | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/services/consumptionAlert/ecolyo.js b/services/consumptionAlert/ecolyo.js
index 975fa5dfe..2f8fa4bc3 100644
--- a/services/consumptionAlert/ecolyo.js
+++ b/services/consumptionAlert/ecolyo.js
@@ -80964,9 +80964,10 @@ const consumptionAlert = async ({
     }]
   };
   log('info', 'Sending mail...');
-  log('info', `MAILSUBJECTTTTTT : ${JSON.stringify(mailData)}`);
-  log('info', 'Sending MAILLLL...');
-  log('info', `MAILSUBJECTTTTTT2 : ${mailData}`);
+  log('info', `MAILSUBJECTTTTTT : ${JSON.stringify(mailData.subject)}`);
+  console.log('thesubject', mailData.subject);
+  log('info', 'Sending MAILLLL...'); // log('info', `MAILSUBJECTTTTTT2 : ${mailData}`)
+
   mailService.SendMail(client, mailData);
 };
 
-- 
GitLab