(req: Request)
| 2 | import { createTRPCContext } from '@/trpc/init'; |
| 3 | import { appRouter } from '@/trpc/routers/_app'; |
| 4 | const handler = (req: Request) => |
| 5 | fetchRequestHandler({ |
| 6 | endpoint: '/api/trpc', |
| 7 | req, |
| 8 | router: appRouter, |
| 9 | createContext: createTRPCContext, |
| 10 | }); |
| 11 | export { handler as GET, handler as POST }; |
nothing calls this directly
no outgoing calls
no test coverage detected