From a234f00269e2d1a3174380baef91b1fd95ee5408 Mon Sep 17 00:00:00 2001 From: Xiao Yijun Date: Fri, 19 Nov 2021 16:04:40 +0800 Subject: [PATCH] chore(core): fix comment mistake --- packages/core/src/middleware/koa-guard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/middleware/koa-guard.ts b/packages/core/src/middleware/koa-guard.ts index 9790d45dc..00845c345 100644 --- a/packages/core/src/middleware/koa-guard.ts +++ b/packages/core/src/middleware/koa-guard.ts @@ -68,7 +68,7 @@ export default function koaGuard< query: query?.parse(ctx.request.query), body: body?.parse(ctx.request.body), params: params?.parse(ctx.params), - } as Guarded; // Have to do t His since it's too complicated for TS + } as Guarded; // Have to do this since it's too complicated for TS } catch (error: unknown) { throw new RequestError('guard.invalid_input', error); }