From 7be3c273970c845e72570688a290fc434f7078de Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Thu, 5 Nov 2020 11:33:03 +0100 Subject: [PATCH] Variable name change --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } }