Skip to content

Commit

Permalink
Fix typo in API Routes documentation. (#10054)
Browse files Browse the repository at this point in the history
Co-authored-by: JJ Kasper <jj@jjsweb.site>
  • Loading branch information
leerob and ijjk committed Jan 12, 2020
1 parent 72a898a commit b533f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api-routes/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ For example, the following API route `pages/api/user.js` handles a simple `json`
export default (req, res) => {
res.statusCode = 200
res.setHeader('Content-Type', 'application/json')
res.end(JSON.stringify({ name: 'Jhon Doe' }))
res.end(JSON.stringify({ name: 'John Doe' }))
}
```

Expand Down

0 comments on commit b533f2a

Please sign in to comment.