diff --git a/lib/di.js b/lib/di.js index 78fac20..1608770 100644 --- a/lib/di.js +++ b/lib/di.js @@ -12,7 +12,7 @@ export async function verifyCredential({config, credential, checks} = {}) { // only check credential status when option is set const checkStatus = checks.includes('credentialStatus') ? - _checkStatus : undefined; + _checkStatus : () => ({verified: true}); const result = await vc.verifyCredential({ credential,