From b533f2afab7ac7574170eb287d0b54ab74a38a0f Mon Sep 17 00:00:00 2001 From: Lee Robinson Date: Sun, 12 Jan 2020 13:12:59 -0600 Subject: [PATCH] Fix typo in API Routes documentation. (#10054) Co-authored-by: JJ Kasper --- docs/api-routes/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-routes/introduction.md b/docs/api-routes/introduction.md index d883787531..491c5f62ba 100644 --- a/docs/api-routes/introduction.md +++ b/docs/api-routes/introduction.md @@ -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' })) } ``` -- GitLab