File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
packages/credential-validation/src/agent Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,11 @@ export class CredentialValidation implements IAgentPlugin {
7272 private async cvVerifyCredential ( args : VerifyCredentialArgs , context : RequiredContext ) : Promise < VerificationResult > {
7373 const { credential, hasher, policies } = args
7474 // defaulting the schema validation to when_present
75- const schemaResult = await this . cvVerifySchema ( { credential, validationPolicy : policies ?. schemaValidation ?? SchemaValidation . WHEN_PRESENT } )
75+ const schemaResult = await this . cvVerifySchema ( {
76+ credential,
77+ validationPolicy : policies ?. schemaValidation ?? SchemaValidation . WHEN_PRESENT ,
78+ hasher,
79+ } )
7680 if ( ! schemaResult . result ) {
7781 return schemaResult
7882 }
You can’t perform that action at this time.
0 commit comments