We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 916ca63 commit 609aa02Copy full SHA for 609aa02
README.md
@@ -181,7 +181,7 @@ const creature = { name: 'Cerberus', type: 'Underworld' }
181
invariantResponse(
182
creature.type === 'Sky',
183
JSON.stringify({ error: 'Creature must be of type Sky' }),
184
- { status: 500, headers: { 'Content-Type': 'text/json' } },
+ { status: 500, headers: { 'Content-Type': 'application/json' } },
185
)
186
```
187
0 commit comments