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

test

parent df1060c1
No related branches found
No related tags found
2 merge requests!19Feat/us858 save expiration date,!17fix/US846-onDelete
......@@ -44,10 +44,10 @@ async function onDeleteAccount() {
accountData.data.consentId
)
log('info', isAlpha())
if (userConsent.ID && userConsent.pointID) {
log('log', `Consent ${userConsent.ID} found for user`)
// Verify if it's dev env to prevent delete of real data
log('info', isAlpha())
if (userConsent.serviceID && !isAlpha()) {
await deleteBoConsent(
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