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>
This commit is contained in:
Shivam Jadhav
2024-08-16 12:24:26 +02:00
committed by GitHub
co-authored by Anik Dhabal Babu Amit Sharma
parent 56dcab2f6d
commit 25ae1493c3
+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];