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 {
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
}
}