From f056c666cb23471956d22888f50a0e95b1d73af7 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Tue, 17 Nov 2020 02:17:40 +0100 Subject: [PATCH] Fix bad value return --- src/claims.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/claims.js b/src/claims.js index af9029a..196a126 100644 --- a/src/claims.js +++ b/src/claims.js @@ -99,7 +99,7 @@ const runVerification = (proofData, spData) => { utils.generateClaim(spData.claim.fingerprint, spData.claim.format), 'gi' ) - res = re.test(proofData.replace(/\r?\n|\r/, '')) + res.isVerified = re.test(proofData.replace(/\r?\n|\r/, '')) break }