Merge pull request #122 from calcom/fix/middleware-availability

pull/9078/head
Omar López 2022-06-14 15:44:59 -06:00 committed by GitHub
commit 42259e249c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,9 @@
import { defaultHandler } from "@calcom/lib/server";
export default defaultHandler({
import { withMiddleware } from "@lib/helpers/withMiddleware";
export default withMiddleware("HTTP_GET")(
defaultHandler({
GET: import("./_get"),
});
})
);