From 25ae1493c331fd6a7ac5ffc9d723c1f930c54479 Mon Sep 17 00:00:00 2001 From: Shivam Jadhav <34097420+Flash-Shivam@users.noreply.github.com> Date: Fri, 16 Aug 2024 15:54:26 +0530 Subject: [PATCH] fix: Duplicating org team event types not working #16199 (#16204) * fix: Duplicating org team event types not working #16199 * fix type error * Update eventtype.ts --------- Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com> Co-authored-by: Amit Sharma <74371312+Amit91848@users.noreply.github.com> --- packages/prisma/zod/custom/eventtype.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/prisma/zod/custom/eventtype.ts b/packages/prisma/zod/custom/eventtype.ts index 03693f56b4..56b720f9ef 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)[number]; \ No newline at end of file +export type EventTypeLocation = (z.infer)[number];