Skip to content

Commit

Permalink
fix: json loader
Browse files Browse the repository at this point in the history
  • Loading branch information
skynet2 committed Sep 23, 2024
1 parent c555ef7 commit 6544d40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/restapi/v1/issuer/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ func (c *Controller) parseCredential(
enforceStrictValidation bool,
issuerProfileVCFormat vcsverifiable.Format,
) (*verifiable.Credential, error) {
vcSchema := verifiable.JSONSchemaLoader(verifiable.WithDisableRequiredField("issuanceDate"))
vcSchema := verifiable.JSONSchemaLoaderV1(verifiable.WithDisableRequiredField("issuanceDate"))
credential, err := vc.ValidateCredential(
ctx,
cred,
Expand Down

0 comments on commit 6544d40

Please sign in to comment.