From 1545e09521ce50a6db0a29c4cbdfcbaafee04bf8 Mon Sep 17 00:00:00 2001
From: Bastien DUMONT <bdumont@grandlyon.com>
Date: Mon, 1 Aug 2022 14:24:12 +0200
Subject: [PATCH] fix: logs

---
 src/requests/sge.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/requests/sge.js b/src/requests/sge.js
index 11032e0..0d71e7d 100644
--- a/src/requests/sge.js
+++ b/src/requests/sge.js
@@ -21,7 +21,7 @@ function consultationMesuresDetaillees(
 ) {
   log(
     'info',
-    `consultationMesuresDetaillees - ${mesureType}/${unit} between ${startDt} and ${endDt}`
+    `Query consultationMesuresDetaillees - ${mesureType}/${unit} between ${startDt} and ${endDt}`
   )
   return `<?xml version='1.0' encoding='utf-8'?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
@@ -68,7 +68,7 @@ function consultationMesuresDetailleesMaxPower(
 ) {
   log(
     'info',
-    `consultationMesuresDetaillees - ${mesureType}/${unit} between ${startDt} and ${endDt}`
+    `Query consultationMesuresDetaillees - ${mesureType}/${unit} between ${startDt} and ${endDt}`
   )
   return `<?xml version='1.0' encoding='utf-8'?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
@@ -159,7 +159,7 @@ function rechercherPoint(appLogin, name, postalCode, inseeCode, address) {
  * @returns {*}
  */
 function rechercherServicesSouscritsMesures(appLogin, contractId, pointId) {
-  log('info', `Query commanderCollectePublicationMesures`)
+  log('info', `Query rechercherServicesSouscritsMesures`)
   return `<?xml version='1.0' encoding='utf-8'?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:v2="http://www.enedis.fr/sge/b2b/rechercherservicessouscritsmesures/v1.0"
@@ -234,7 +234,7 @@ function commanderCollectePublicationMesures(
 }
 
 /**
- *
+ * Stop the user consent
  * @param {string} appLogin
  * @param {string} contractId
  * @param {string} pointId
-- 
GitLab