diff --git a/docs/content/1.guide/1.introduction/3.routing.md b/docs/content/1.guide/1.introduction/3.routing.md index 2faa5dc438..8f997c4736 100644 --- a/docs/content/1.guide/1.introduction/3.routing.md +++ b/docs/content/1.guide/1.introduction/3.routing.md @@ -39,7 +39,7 @@ export default eventHandler(async event => { ```js // routes/user.post.ts export default eventHandler(async event => { - const body = await readyBody(event) + const body = await readBody(event) // TODO: Handle body and update user return `User updated!` })