From 1f96c9a4e88982782b2410d4a9a4952d68b4af7b Mon Sep 17 00:00:00 2001 From: Nathan-Roberts123 Date: Sat, 25 May 2024 10:45:29 +0200 Subject: [PATCH] change --- src/app/api/trpc/[trpc]/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/api/trpc/[trpc]/route.ts b/src/app/api/trpc/[trpc]/route.ts index c25e91c..df320eb 100644 --- a/src/app/api/trpc/[trpc]/route.ts +++ b/src/app/api/trpc/[trpc]/route.ts @@ -2,7 +2,7 @@ import { fetchRequestHandler } from "@trpc/server/adapters/fetch"; import { appRouter } from "@/server/routers"; import { createContext } from "@/context"; -const handler = (req: Request, res: Response) => +const handler = (req: Request) => fetchRequestHandler({ endpoint: "/api/trpc", req,