From 0be9ac8669b30124648560757108b2d2018438e3 Mon Sep 17 00:00:00 2001 From: barbapapazes Date: Sun, 25 Feb 2024 17:12:09 +0100 Subject: [PATCH] docs: lint --- docs/2.utils/1.request.md | 2 +- src/utils/body.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/2.utils/1.request.md b/docs/2.utils/1.request.md index 48262fdf..1d411c3f 100644 --- a/docs/2.utils/1.request.md +++ b/docs/2.utils/1.request.md @@ -196,7 +196,7 @@ export default defineEventHandler(async (event) => { **Example:** ```ts -import { z } from 'zod'; +import { z } from "zod"; export default defineEventHandler(async (event) => { const objectSchema = z.object(); const body = await readValidatedBody(event, objectSchema.safeParse); diff --git a/src/utils/body.ts b/src/utils/body.ts index e65dc697..3f71b16c 100644 --- a/src/utils/body.ts +++ b/src/utils/body.ts @@ -181,7 +181,7 @@ export async function readBody< * }); * }); * @example - * import { z } from 'zod'; + * import { z } from "zod"; * * export default defineEventHandler(async (event) => { * const objectSchema = z.object();