Skip to content
Snippets Groups Projects
Commit 318a81e0 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

test

parent df1060c1
2 merge requests!19Feat/us858 save expiration date,!17fix/US846-onDelete
...@@ -44,10 +44,10 @@ async function onDeleteAccount() { ...@@ -44,10 +44,10 @@ async function onDeleteAccount() {
accountData.data.consentId accountData.data.consentId
) )
log('info', isAlpha())
if (userConsent.ID && userConsent.pointID) { if (userConsent.ID && userConsent.pointID) {
log('log', `Consent ${userConsent.ID} found for user`) log('log', `Consent ${userConsent.ID} found for user`)
// Verify if it's dev env to prevent delete of real data // Verify if it's dev env to prevent delete of real data
log('info', isAlpha())
if (userConsent.serviceID && !isAlpha()) { if (userConsent.serviceID && !isAlpha()) {
await deleteBoConsent( await deleteBoConsent(
secrets.boBaseUrl, secrets.boBaseUrl,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment