feat: Allow only first slot to be booked (#12636)

Co-authored-by: Morgan Vernay <[email protected]>
This commit is contained in:
Haran RajkumarandMorgan Vernay authored and GitHub committed 2023-12-02 19:07:06 -05:00
1 parent 8e1ce633fb
commit 2f4b1818d0
12 files changed
+47

No files matched your search

+2
View File
@@ -60,6 +60,7 @@ export const schemaEventTypeBaseBodyParams = EventType.pick({
successRedirectUrl: true,
locations: true,
bookingLimits: true,
onlyShowFirstAvailableSlot: true,
durationLimits: true,
})
.merge(
@@ -147,6 +148,7 @@ export const schemaEventTypeReadPublic = EventType.pick({
seatsShowAvailabilityCount: true,
bookingFields: true,
bookingLimits: true,
onlyShowFirstAvailableSlot: true,
durationLimits: true,
}).merge(
z.object({