Variable name change

This commit is contained in:
Yarmo Mackenbach 2020-11-05 11:33:03 +01:00
parent 2781ea49e6
commit 7be3c27397

View file

@ -45,7 +45,7 @@ const verify = async (uri, fingerprint, opts) => {
} else { } else {
proofData = await serviceproviders.proxyRequestHandler(spData) proofData = await serviceproviders.proxyRequestHandler(spData)
} }
if (proofData) { if (proofData) {
claimVerificationResult = claimVerification.run(proofData, spData) claimVerificationResult = claimVerification.run(proofData, spData)
@ -66,7 +66,7 @@ const verify = async (uri, fingerprint, opts) => {
return { return {
isVerified: claimVerificationResult.isVerified, isVerified: claimVerificationResult.isVerified,
matchedServiceprovider: spData ? spData.serviceprovider.name : null, matchedServiceprovider: spData ? spData.serviceprovider.name : null,
verificationData: spData serviceproviderData: spData
} }
} }