Skip to content

Commit

Permalink
fix: Duplicating org team event types not working calcom#16199 (calco…
Browse files Browse the repository at this point in the history
…m#16204)

* fix: Duplicating org team event types not working calcom#16199

* fix type error

* Update eventtype.ts

---------

Co-authored-by: Anik Dhabal Babu <[email protected]>
Co-authored-by: Amit Sharma <[email protected]>
  • Loading branch information
3 people authored Aug 16, 2024
1 parent 56dcab2 commit 25ae149
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/prisma/zod/custom/eventtype.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export const createEventTypeInput = z.object({
title: z.string().min(1),
description: z.string(),
length: z.number(),
teamId: z.number().nullish(),
}).strict();

export type EventTypeLocation = (z.infer<typeof imports.eventTypeLocations>)[number];
export type EventTypeLocation = (z.infer<typeof imports.eventTypeLocations>)[number];

0 comments on commit 25ae149

Please sign in to comment.