mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-04 23:17:12 +01:00
fix days validation on updating booking
days validation needs to ignore own days
This commit is contained in:
@@ -20,9 +20,9 @@ function connect() {
|
||||
return connectedPromise
|
||||
}
|
||||
|
||||
export async function getBookedDays() {
|
||||
export async function getBookedDays(uuidsToIngore?: string[]) {
|
||||
await connect()
|
||||
return BookingModel.findBookedDays()
|
||||
return BookingModel.findBookedDays(uuidsToIngore)
|
||||
}
|
||||
|
||||
export async function getBookingByUUID(uuid: string) {
|
||||
|
||||
Reference in New Issue
Block a user