mirror of
https://github.com/documenso/documenso.git
synced 2025-11-20 19:51:32 +10:00
fix: add public profiles tests
This commit is contained in:
@ -11,8 +11,8 @@ export const openApiTrpcServerHandler = async (c: Context) => {
|
||||
return createOpenApiFetchHandler<typeof appRouter>({
|
||||
endpoint: API_V2_BETA_URL,
|
||||
router: appRouter,
|
||||
// Todo: Test this, since it's not using the createContext params.
|
||||
// Todo: Reduce calls since we fetch on most request? maybe
|
||||
// Todo: (RR7) Test this, since it's not using the createContext params.
|
||||
// Todo: (RR7) Reduce calls since we fetch on most request? maybe
|
||||
createContext: async () => createTrpcContext({ c, requestSource: 'apiV2' }),
|
||||
req: c.req.raw,
|
||||
onError: (opts) => handleTrpcRouterError(opts, 'apiV2'),
|
||||
|
||||
Reference in New Issue
Block a user