From 9ece949220c4831614311f7caad5a7819dda199e Mon Sep 17 00:00:00 2001 From: Hri7566 Date: Sun, 7 Jul 2024 09:18:50 -0400 Subject: [PATCH] Fix weird type error??? --- src/api/api/server.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/api/api/server.ts b/src/api/api/server.ts index 9564797..962a5a0 100644 --- a/src/api/api/server.ts +++ b/src/api/api/server.ts @@ -7,7 +7,9 @@ const logger = new Logger("Server"); export const server = Bun.serve( createBunServeHandler({ router: appRouter, - createContext: createContext + createContext: createContext, + req: new Request("https://github.com/Hri7566"), + endpoint: "/" }) );