Merge branch 'main' into production
This commit is contained in:
@@ -11,6 +11,8 @@ declare module "next" {
|
||||
userId: number;
|
||||
method: string;
|
||||
query: { [key: string]: string | string[] };
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
session: any;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -7,7 +7,8 @@
|
||||
"author": "Cal.com Inc.",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "next build",
|
||||
"app-store:generate": "yarn workspace @calcom/app-store-cli generate",
|
||||
"build": "yarn app-store:generate && next build",
|
||||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next",
|
||||
"dev": "PORT=3002 next dev",
|
||||
"lint-fix": "next lint --fix && prettier --write .",
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
import { defaultHandler } from "@calcom/lib/server";
|
||||
|
||||
export default defaultHandler({
|
||||
GET: import("./_get"),
|
||||
});
|
||||
import { withMiddleware } from "@lib/helpers/withMiddleware";
|
||||
|
||||
export default withMiddleware("HTTP_GET")(
|
||||
defaultHandler({
|
||||
GET: import("./_get"),
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user