Skip to content

Commit

Permalink
fix: adjust json path before match (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
skynet2 authored Nov 13, 2024
1 parent b3c88cf commit cd67654
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions presexch/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,13 @@ func WithMergedSubmissionMap(submissionMap map[string]interface{}) MatchOption {
}

// Match returns the credentials matched against the InputDescriptors ids.
func (pd *PresentationDefinition) Match(vpList []*verifiable.Presentation,
contextLoader ld.DocumentLoader, options ...MatchOption) ([]*MatchValue, error) {
func (pd *PresentationDefinition) Match(
vpList []*verifiable.Presentation,
contextLoader ld.DocumentLoader,
options ...MatchOption,
) ([]*MatchValue, error) {
pd.adjustFields()

opts := &MatchOptions{}

for i := range options {
Expand Down

0 comments on commit cd67654

Please sign in to comment.