From e522a59a4c33267b687be3c714fbe41ac3d99e89 Mon Sep 17 00:00:00 2001 From: wobsoriano Date: Thu, 24 Nov 2022 13:07:25 -0800 Subject: [PATCH] update docs --- docs/content/1.get-started/3.tips/3.authorization.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/content/1.get-started/3.tips/3.authorization.md b/docs/content/1.get-started/3.tips/3.authorization.md index 66ed77e..5056640 100644 --- a/docs/content/1.get-started/3.tips/3.authorization.md +++ b/docs/content/1.get-started/3.tips/3.authorization.md @@ -13,7 +13,6 @@ Before you can access request headers in any context or middleware, you need to ## Create context from request headers ```ts [server/trpc/context.ts] -import type { H3Event } from 'h3' import { inferAsyncReturnType } from '@trpc/server' import { decodeAndVerifyJwtToken } from './somewhere/in/your/app/utils'