From 8b4d0e88cde0950b23403811e67cd815a87c1119 Mon Sep 17 00:00:00 2001
From: Hugo SUBTIL <ext.sopra.husubtil@grandlyon.com>
Date: Thu, 11 Aug 2022 14:28:02 +0200
Subject: [PATCH] publish: fix: build

generated from commit e1b85de07c58540ec31d27517693c4d11397d6d0
---
 index.js           | 24 +++++++++++-------------
 onDeleteAccount.js | 24 +++++++++++-------------
 2 files changed, 22 insertions(+), 26 deletions(-)

diff --git a/index.js b/index.js
index 9b8d805..761badb 100644
--- a/index.js
+++ b/index.js
@@ -223906,20 +223906,18 @@ async function createBoConsent(
       Authorization: `Bearer ${token}`,
     },
   }
-  log('info', JSON.stringify(headers))
+  log(
+    'log',
+    JSON.stringify({
+      pointID,
+      lastname,
+      firstname,
+      address,
+      postalCode,
+      inseeCode,
+    })
+  )
   try {
-    log(
-      'log',
-      JSON.stringify({
-        pointID,
-        lastname,
-        firstname,
-        address,
-        postalCode,
-        inseeCode,
-      })
-    )
-    log('log', headers)
     const { data } = await axios.post(
       `${url}/consent`,
       {
diff --git a/onDeleteAccount.js b/onDeleteAccount.js
index 14ee7c6..ac23dc7 100644
--- a/onDeleteAccount.js
+++ b/onDeleteAccount.js
@@ -223294,20 +223294,18 @@ async function createBoConsent(
       Authorization: `Bearer ${token}`,
     },
   }
-  log('info', JSON.stringify(headers))
+  log(
+    'log',
+    JSON.stringify({
+      pointID,
+      lastname,
+      firstname,
+      address,
+      postalCode,
+      inseeCode,
+    })
+  )
   try {
-    log(
-      'log',
-      JSON.stringify({
-        pointID,
-        lastname,
-        firstname,
-        address,
-        postalCode,
-        inseeCode,
-      })
-    )
-    log('log', headers)
     const { data } = await axios.post(
       `${url}/consent`,
       {
-- 
GitLab