2022-06-29 22:01:14 +00:00
|
|
|
import { defaultHandler } from "@calcom/lib/server";
|
|
|
|
|
|
|
|
import { withMiddleware } from "@lib/helpers/withMiddleware";
|
|
|
|
import { withValidQueryTeamId } from "@lib/validations/shared/queryTeamId";
|
|
|
|
|
2022-07-08 19:49:14 +00:00
|
|
|
export default withMiddleware()(
|
2022-06-29 22:01:14 +00:00
|
|
|
withValidQueryTeamId(
|
|
|
|
defaultHandler({
|
|
|
|
GET: import("./_get"),
|
|
|
|
PATCH: import("./_patch"),
|
|
|
|
DELETE: import("./_delete"),
|
|
|
|
})
|
|
|
|
)
|
|
|
|
);
|