Skip to content

Commit 6fb0748

Browse files
Use problemDetails in place of errors.
To match upstream VC API approach. Per code review feedback from @PatStLouis. Co-authored-by: Patrick St-Louis <[email protected]>
1 parent 2027416 commit 6fb0748

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ HTTP/1.1 200 OK
176176
{
177177
"verified": true,
178178
"results": {},
179-
"error": ["invalid proof"]
179+
"problemDetails": []
180180
}
181181
```
182182

@@ -253,8 +253,7 @@ HTTP/1.1 200 OK
253253
```json
254254
{
255255
"verified": true,
256-
"warnings": ["invalid-uri"],
257-
"errors": ["invalid proof"]
256+
"problemDetails": []
258257
}
259258
```
260259

0 commit comments

Comments
 (0)