Skip to content

Scheduling infrastructure for absolutely everyone.

fix: Duplicating org team event types not working #16199 (#16204)

Shivam Jadhav25ae1493c331
diff --git a/packages/prisma/zod/custom/eventtype.ts b/packages/prisma/zod/custom/eventtype.ts
index 03693f56b44..56b720f9efe 100755
--- a/packages/prisma/zod/custom/eventtype.ts
+++ b/packages/prisma/zod/custom/eventtype.ts
@@ -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];
\ No newline at end of file
+export type EventTypeLocation = (z.infer<typeof imports.eventTypeLocations>)[number];