diff --git a/docs/content/3.docs/2.directory-structure/13.server.md b/docs/content/3.docs/2.directory-structure/13.server.md index 2226fb5fcb..ef947ea920 100644 --- a/docs/content/3.docs/2.directory-structure/13.server.md +++ b/docs/content/3.docs/2.directory-structure/13.server.md @@ -55,7 +55,7 @@ export default async (req: IncomingMessage, res: ServerResponse) => { import { useBody, useCookies, useQuery } from 'h3' export default async (req, res) => { - const query = await useQuery(req) + const query = useQuery(req) const body = await useBody(req) // only for POST request const cookies = useCookies(req)