Files
calendar/packages/trpc/server/routers/publicViewer/noShow.handler.ts
T
Udit TakkarandGitHub 563141b295 chore: add check for booking (#15740)
* chore: add check

* chore: missting no shoe
2024-07-15 08:59:29 +00:00

16 lines
406 B
TypeScript

import handleMarkNoShow from "@calcom/features/handleMarkNoShow";
import type { TNoShowInputSchema } from "./noShow.schema";
type NoShowOptions = {
input: TNoShowInputSchema;
};
export const noShowHandler = async ({ input }: NoShowOptions) => {
const { bookingUid, attendees, noShowHost } = input;
return handleMarkNoShow({ bookingUid, attendees, noShowHost });
};
export default noShowHandler;