Skip to content

Commit

Permalink
chore: DID Config Client is not passing options to DID Config API
Browse files Browse the repository at this point in the history
DID Config Client is not passing options to DID Config API
Current unit tests are using did:key so add unit test with did resolver option

Closes hyperledger-archives#3445

Signed-off-by: Sandra Vrtikapa <[email protected]>
  • Loading branch information
sandrask committed Dec 16, 2022
1 parent 76c34cd commit d7bb068
Show file tree
Hide file tree
Showing 2 changed files with 180 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pkg/client/didconfig/didconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func (c *Client) VerifyDIDAndDomain(did, domain string) error {
endpoint, resp.StatusCode, responseBytes)
}

return didconfig.VerifyDIDAndDomain(responseBytes, did, domain)
return didconfig.VerifyDIDAndDomain(responseBytes, did, domain, c.didConfigOpts...)
}

func closeResponseBody(respBody io.Closer) {
Expand Down
Loading

0 comments on commit d7bb068

Please sign in to comment.