perf: do not import from @calcom/lib/server barrel file (#19579)
* do not import from lib/server barrel file * fix build
This commit is contained in:
1 parent
48b8afd8af
commit
d7960021aa
215 files changed
+271
-215
No files matched your search
@@ -4,7 +4,7 @@ import { ApiError } from "next/dist/server/api-utils";
|
||||
import type { NextRequest } from "next/server";
|
||||
import { NextResponse } from "next/server";
|
||||
|
||||
import { getServerErrorFromUnknown } from "@calcom/lib/server";
|
||||
import { getServerErrorFromUnknown } from "@calcom/lib/server/getServerErrorFromUnknown";
|
||||
|
||||
export const apiRouteMiddleware =
|
||||
(handler: (req: NextRequest, { params }: { params: Params }) => Promise<NextResponse>) =>
|
||||
|
||||
Reference in new issue
Block a user