Merge pull request #122 from calcom/fix/middleware-availability
commit
42259e249c
|
@ -1,5 +1,9 @@
|
||||||
import { defaultHandler } from "@calcom/lib/server";
|
import { defaultHandler } from "@calcom/lib/server";
|
||||||
|
|
||||||
export default defaultHandler({
|
import { withMiddleware } from "@lib/helpers/withMiddleware";
|
||||||
GET: import("./_get"),
|
|
||||||
});
|
export default withMiddleware("HTTP_GET")(
|
||||||
|
defaultHandler({
|
||||||
|
GET: import("./_get"),
|
||||||
|
})
|
||||||
|
);
|
||||||
|
|
Loading…
Reference in New Issue