diff --git a/website/src/pages/docs/integrations/integration-with-koa.mdx b/website/src/pages/docs/integrations/integration-with-koa.mdx index 3edc40c22..231c6efaa 100644 --- a/website/src/pages/docs/integrations/integration-with-koa.mdx +++ b/website/src/pages/docs/integrations/integration-with-koa.mdx @@ -30,8 +30,8 @@ const yoga = createYoga() // Bind GraphQL Yoga to `/graphql` endpoint app.use(async ctx => { // Second parameter adds Koa's context into GraphQL Context - // Make sure it is not `ctx.request` not `ctx.req` - // Because sometimes Koa parses the body and puts it in `ctx.req` + // If you use any body parsing middleware in your application, + // Make sure it is `ctx.request` and not `ctx.req` const response = await yoga.handleNodeRequestAndResponse(ctx.request, ctx.res, ctx) // Set status code