Skip to content

Commit

Permalink
Use problemDetails in place of errors.
Browse files Browse the repository at this point in the history
To match upstream VC API approach.

Per code review feedback from @PatStLouis.

Co-authored-by: Patrick St-Louis <[email protected]>
  • Loading branch information
BigBlueHat and PatStLouis committed Jan 27, 2025
1 parent 2027416 commit 6fb0748
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ HTTP/1.1 200 OK
{
"verified": true,
"results": {},
"error": ["invalid proof"]
"problemDetails": []
}
```

Expand Down Expand Up @@ -253,8 +253,7 @@ HTTP/1.1 200 OK
```json
{
"verified": true,
"warnings": ["invalid-uri"],
"errors": ["invalid proof"]
"problemDetails": []
}
```

Expand Down

0 comments on commit 6fb0748

Please sign in to comment.