fix: no http_method middleware needed as already handled by defaultHandler
This commit is contained in:
1 parent
6971ba249f
commit
3f6e7904cb
1 file changed
+1
-1
@@ -3,7 +3,7 @@ import { defaultHandler } from "@calcom/lib/server";
|
|||||||
import { withMiddleware } from "@lib/helpers/withMiddleware";
|
import { withMiddleware } from "@lib/helpers/withMiddleware";
|
||||||
import { withValidQueryTeamId } from "@lib/validations/shared/queryTeamId";
|
import { withValidQueryTeamId } from "@lib/validations/shared/queryTeamId";
|
||||||
|
|
||||||
export default withMiddleware("HTTP_GET_DELETE_PATCH")(
|
export default withMiddleware()(
|
||||||
withValidQueryTeamId(
|
withValidQueryTeamId(
|
||||||
defaultHandler({
|
defaultHandler({
|
||||||
GET: import("./_get"),
|
GET: import("./_get"),
|
||||||
|
|||||||
Reference in new issue
Block a user