Set reqBody.end to start + eventType.length (#9296)

This commit is contained in:
Alex van Andel authored and GitHub committed 2023-06-02 19:29:52 +00:00
1 parent f7ce774ddc
commit 7fc0877c26
2 files changed
+37 -10

No files matched your search

+1 -1
View File
@@ -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(),