chore: write defaultResponder for App Router APIs (#19727)
* create defaultResponderForAppDir * rename all usages * finish * fix
This commit is contained in:
1 parent
75627cb097
commit
251121a76f
9 files changed
+159
-51
No files matched your search
@@ -35,8 +35,8 @@ vi.mock("@lib/buildLegacyCtx", () => ({
|
||||
}),
|
||||
}));
|
||||
|
||||
vi.mock("app/api/apiRouteMiddleware", () => ({
|
||||
apiRouteMiddleware: (handler: () => Promise<Response>) => handler,
|
||||
vi.mock("app/api/defaultResponderForAppDir", () => ({
|
||||
defaultResponderForAppDir: (handler: () => Promise<Response>) => handler,
|
||||
}));
|
||||
|
||||
vi.mock("@calcom/prisma", () => ({
|
||||
|
||||
Reference in new issue
Block a user