cal.pub0.org/apps/web/pages/api/collect-events.ts

10 lines
264 B
TypeScript
Raw Permalink Normal View History

2022-08-26 18:07:44 +00:00
import { collectApiHandler } from "next-collect/server";
import { extendEventData, nextCollectBasicSettings } from "@calcom/lib/telemetry";
2022-08-26 18:07:44 +00:00
export default collectApiHandler({
...nextCollectBasicSettings,
cookieName: "__clnds",
extend: extendEventData,
});