diff --git a/src/index.js b/src/index.js index 1cfdf6b..b8da4c3 100644 --- a/src/index.js +++ b/src/index.js @@ -45,7 +45,7 @@ const verify = async (uri, fingerprint, opts) => { } else { proofData = await serviceproviders.proxyRequestHandler(spData) } - + if (proofData) { claimVerificationResult = claimVerification.run(proofData, spData) @@ -66,7 +66,7 @@ const verify = async (uri, fingerprint, opts) => { return { isVerified: claimVerificationResult.isVerified, matchedServiceprovider: spData ? spData.serviceprovider.name : null, - verificationData: spData + serviceproviderData: spData } }