diff --git a/docs/tutorial/getting-started/status-and-headers/index.md b/docs/tutorial/getting-started/status-and-headers/index.md index 923d1e8e..e16313a1 100644 --- a/docs/tutorial/getting-started/status-and-headers/index.md +++ b/docs/tutorial/getting-started/status-and-headers/index.md @@ -49,7 +49,7 @@ You can also return a status code by returning your response using a `status` fu import { Elysia } from 'elysia' new Elysia() - .get('/', ({ status }) => status(418, "I'm a teapot'")) + .get('/', ({ status }) => status(418, "I'm a teapot")) .listen(3000) ``` diff --git a/docs/tutorial/patterns/error-handling/index.md b/docs/tutorial/patterns/error-handling/index.md index 46496ef8..782ff7d0 100644 --- a/docs/tutorial/patterns/error-handling/index.md +++ b/docs/tutorial/patterns/error-handling/index.md @@ -45,7 +45,7 @@ new Elysia() if(code === "NOT_FOUND") return 'uhe~ are you lost?' - return status(418, "My bad! But I\'m cute so you'll forgive me, right?") + return status(418, "My bad! But I'm cute so you'll forgive me, right?") }) .get('/', () => 'ok') .listen(3000)