diff --git a/src/onDeleteAccount.js b/src/onDeleteAccount.js
index 153cdde0f8e09aa409fc9819ad527861756b5bd4..2d873b5aaee1e9f5a14365ec4d0f44bc704bf408 100644
--- a/src/onDeleteAccount.js
+++ b/src/onDeleteAccount.js
@@ -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,