fix: no http_method middleware needed as already handled by defaultHandler

pull/9078/head
Agusti Fernandez Pardo 2022-07-08 21:49:14 +02:00
parent 6971ba249f
commit 3f6e7904cb
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ import { defaultHandler } from "@calcom/lib/server";
import { withMiddleware } from "@lib/helpers/withMiddleware";
import { withValidQueryTeamId } from "@lib/validations/shared/queryTeamId";
export default withMiddleware("HTTP_GET_DELETE_PATCH")(
export default withMiddleware()(
withValidQueryTeamId(
defaultHandler({
GET: import("./_get"),