Fix bad value return

This commit is contained in:
Yarmo Mackenbach 2020-11-17 02:17:40 +01:00
parent de1b35a894
commit f056c666cb

View file

@ -99,7 +99,7 @@ const runVerification = (proofData, spData) => {
utils.generateClaim(spData.claim.fingerprint, spData.claim.format), utils.generateClaim(spData.claim.fingerprint, spData.claim.format),
'gi' 'gi'
) )
res = re.test(proofData.replace(/\r?\n|\r/, '')) res.isVerified = re.test(proofData.replace(/\r?\n|\r/, ''))
break break
} }