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 <[email protected]>
Co-authored-by: Amit Sharma <[email protected]>
This commit is contained in:
authored and GitHub committed 2024-08-16 12:24:26 +02:00
1 parent 56dcab2f6d
commit 25ae1493c3
1 file changed
+2 -1
+2 -1
View File
@@ -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];