From cf4b5f25f98f1fe9e3fb422215173b2664a49f28 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20Pailharey?= <rpailharey@grandlyon.com>
Date: Fri, 28 Oct 2022 16:40:12 +0200
Subject: [PATCH] publish: test

generated from commit 28d750a6013ba32b41f0985fc93f1fbbe33310ab
---
 index.js           | 1 +
 onDeleteAccount.js | 1 +
 2 files changed, 2 insertions(+)

diff --git a/index.js b/index.js
index a84ae8d..d22b4e1 100644
--- a/index.js
+++ b/index.js
@@ -228881,6 +228881,7 @@ async function saveAccountData(accountId, accountData) {
   )
 
   delete account._id
+  delete account.id
   log(
     'info',
     `saveAccountData account after id: ${JSON.stringify({
diff --git a/onDeleteAccount.js b/onDeleteAccount.js
index cb60f70..9e44f74 100644
--- a/onDeleteAccount.js
+++ b/onDeleteAccount.js
@@ -227626,6 +227626,7 @@ async function saveAccountData(accountId, accountData) {
   )
 
   delete account._id
+  delete account.id
   log(
     'info',
     `saveAccountData account after id: ${JSON.stringify({
-- 
GitLab