From 9c239d18378675c97b56936ddcecf55228afb636 Mon Sep 17 00:00:00 2001 From: "Ali(Ako) Hosseini" Date: Wed, 27 Oct 2021 08:35:56 +0330 Subject: [PATCH] fix: populateVerificationStatus authentication fix --- .../account/src/Sections/Verification/Helpers/verification.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/account/src/Sections/Verification/Helpers/verification.js b/packages/account/src/Sections/Verification/Helpers/verification.js index b19e2c452e60..bd36a6da557c 100644 --- a/packages/account/src/Sections/Verification/Helpers/verification.js +++ b/packages/account/src/Sections/Verification/Helpers/verification.js @@ -1,8 +1,8 @@ const populateVerificationStatus = account_status => { const { attempts, document, identity, needs_verification } = { ...account_status.authentication, - attempts: account_status.attempts || {}, - needs_verification: account_status.needs_verification || {}, + attempts: account_status.authentication.attempts || {}, + needs_verification: account_status.authentication.needs_verification || {}, }; const has_poa = !(document && document.status === 'none'); const has_poi = !(identity && identity.status === 'none');