Set reqBody.end to start + eventType.length (#9296)
This commit is contained in:
1 parent
f7ce774ddc
commit
7fc0877c26
2 files changed
+37
-10
No files matched your search
@@ -161,7 +161,7 @@ export const stringOrNumber = z.union([
|
||||
export const stringToDayjs = z.string().transform((val) => dayjs(val));
|
||||
|
||||
export const bookingCreateBodySchema = z.object({
|
||||
end: z.string(),
|
||||
end: z.string().optional(),
|
||||
eventTypeId: z.number(),
|
||||
eventTypeSlug: z.string().optional(),
|
||||
rescheduleUid: z.string().optional(),
|
||||
|
||||
Reference in new issue
Block a user