Skip to content
This repository was archived by the owner on Sep 16, 2025. It is now read-only.

Commit 16fb97e

Browse files
fix(README): format REST error response (#10)
1 parent 70e1151 commit 16fb97e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,12 @@ To be inline with Strapi's default behavior for single types if an article with
146146
```json
147147
{
148148
"data": null,
149-
"error": { "status": 404, "name": "NotFoundError", "message": "Not Found", "details": {} }
149+
"error": {
150+
"status": 404,
151+
"name": "NotFoundError",
152+
"message": "Not Found",
153+
"details": {}
154+
}
150155
}
151156
```
152157

0 commit comments

Comments
 (0)