mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
half way
This commit is contained in:
@@ -30,7 +30,10 @@ export async function getBookedDays() {
|
||||
'startDate endDate'
|
||||
).exec()
|
||||
|
||||
return bookings.map((booking) => booking.days).flat()
|
||||
return bookings
|
||||
.map((booking) => booking.days)
|
||||
.flat()
|
||||
.sort()
|
||||
}
|
||||
|
||||
export async function createBooking({
|
||||
|
||||
Reference in New Issue
Block a user