Skip to content

Commit

Permalink
fix: validate opts (#1776)
Browse files Browse the repository at this point in the history
* fix: validate opts per level

* fix: drop include diff
  • Loading branch information
skynet2 authored Oct 10, 2024
1 parent 532fe3e commit adff2c5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion pkg/restapi/v1/issuer/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -1208,7 +1208,6 @@ func (c *Controller) validateJSONLD(
return validator.ValidateJSONLDMap(data,
validator.WithDocumentLoader(c.documentLoader),
validator.WithStrictValidation(true),
validator.WithJSONLDIncludeDetailedStructureDiffOnError(),
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ func (s *Service) checkCredentialStrict(
if err = validator.ValidateJSONLDMap(credMap,
validator.WithDocumentLoader(s.documentLoader),
validator.WithStrictValidation(true),
validator.WithJSONLDIncludeDetailedStructureDiffOnError(),
); err != nil {
return claimKeysDict, err
}
Expand Down

0 comments on commit adff2c5

Please sign in to comment.