Skip to content

Commit 89105f3

Browse files
committed
Preserve existing credential status check behavior.
1 parent bcd672c commit 89105f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/di.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export async function verifyCredential({config, credential, checks} = {}) {
1212

1313
// only check credential status when option is set
1414
const checkStatus = checks.includes('credentialStatus') ?
15-
_checkStatus : undefined;
15+
_checkStatus : () => ({verified: true});
1616

1717
const result = await vc.verifyCredential({
1818
credential,

0 commit comments

Comments
 (0)