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 authored Jan 7, 2025
1 parent 842e87a commit 603877a
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 603877a

Please sign in to comment.