2022-06-29 22:01:14 +00:00
|
|
|
import { defaultHandler } from "@calcom/lib/server";
|
2022-03-26 00:53:56 +00:00
|
|
|
|
2022-03-29 01:59:57 +00:00
|
|
|
import { withMiddleware } from "@lib/helpers/withMiddleware";
|
2022-03-26 00:53:56 +00:00
|
|
|
|
2022-06-29 22:01:14 +00:00
|
|
|
export default withMiddleware("HTTP_GET_OR_POST")(
|
|
|
|
defaultHandler({
|
|
|
|
GET: import("./_get"),
|
|
|
|
POST: import("./_post"),
|
|
|
|
})
|
|
|
|
);
|