Files
calendar/packages/features/tasker/tasks/triggerNoShow/getMeetingSessionsFromRoomName.ts
T
395381ddcc feat: automatic no show (#16727)
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: zomars <zomars@me.com>
2024-10-10 10:57:04 -07:00

8 lines
278 B
TypeScript

import { fetcher } from "@calcom/lib/dailyApiFetcher";
import { triggerNoShowPayloadSchema } from "./schema";
export const getMeetingSessionsFromRoomName = async (roomName: string) => {
return fetcher(`/meetings?room=${roomName}`).then(triggerNoShowPayloadSchema.parse);
};