diff --git a/src/index.js b/src/index.js
index 59144ba28d1194a8bd4f4c042e9c3f6dee542865..beb1ef466ffa3199a9a615d57c72684ac57022c1 100644
--- a/src/index.js
+++ b/src/index.js
@@ -229,7 +229,7 @@ async function start(fields, cozyParameters) {
  * @param {number} pointId
  * @param {string} boBaseUrl
  * @param {string} boToken
- * @param {boolean} isConsentExpiration
+ * @param {boolean} isConsentExpired
  */
 async function deleteConsent(
   userConsent,
@@ -240,7 +240,7 @@ async function deleteConsent(
   pointId,
   boBaseUrl,
   boToken,
-  isConsentExpiration
+  isConsentExpired
 ) {
   log('error', `Invalid or not found consent for user`)
   if (userConsent.serviceID) {
@@ -257,7 +257,7 @@ async function deleteConsent(
     log('error', `No service id retrieved from BO`)
     throw errors.VENDOR_DOWN
   }
-  if (isConsentExpiration) {
+  if (isConsentExpired) {
     throw errors.USER_ACTION_NEEDED_OAUTH_OUTDATED
   }
   throw errors.TERMS_VERSION_MISMATCH
diff --git a/src/onDeleteAccount.js b/src/onDeleteAccount.js
index c625205f3a1bcee1254670711861fa985757fc21..8bdb05f556ae3a1ffb2ae4b47e8e5920a191cd60 100644
--- a/src/onDeleteAccount.js
+++ b/src/onDeleteAccount.js
@@ -35,7 +35,7 @@ async function onDeleteAccount() {
       })
     }
     const secrets = getAccountSecret()
-    log('warn', `Account DATAA InOndelete ${JSON.stringify(accountData)}`)
+
     const userConsent = await getBoConsent(
       secrets.boBaseUrl,
       secrets.boToken,