Fix minimum booking notice set to 0 (#7750)

* Only use the current day

* Set min of booking notice to 0

* Set min minimumBookingNotice to 0
This commit is contained in:
Joe Au-Yeung authored and GitHub committed 2023-03-24 17:37:46 -07:00
1 parent 492858b45b
commit 20022e2cdd
3 files changed
+3 -4

No files matched your search

+1
View File
@@ -77,6 +77,7 @@ model EventType {
recurringEvent Json?
disableGuests Boolean @default(false)
hideCalendarNotes Boolean @default(false)
/// @zod.min(0)
minimumBookingNotice Int @default(120)
beforeEventBuffer Int @default(0)
afterEventBuffer Int @default(0)