cal.pub0.org/pages/api/users/index.ts

11 lines
251 B
TypeScript
Raw Normal View History

2022-06-14 20:08:58 +00:00
import { defaultHandler } from "@calcom/lib/server";
2022-03-29 01:23:22 +00:00
import { withMiddleware } from "@lib/helpers/withMiddleware";
2022-06-14 20:08:58 +00:00
export default withMiddleware("HTTP_GET_OR_POST")(
defaultHandler({
GET: import("./_get"),
POST: import("./_post"),
})
);