mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-04 15:07:13 +01:00
remove debugging output
This commit is contained in:
committed by
Thomas Ruoff
parent
038e2b2420
commit
654b4d706c
@@ -69,7 +69,6 @@ BookingSchema.virtual('days').get(function () {
|
|||||||
})
|
})
|
||||||
|
|
||||||
BookingSchema.static('findBookedDays', async function (): Promise<string[]> {
|
BookingSchema.static('findBookedDays', async function (): Promise<string[]> {
|
||||||
console.log('in findBookedDays this is', this)
|
|
||||||
const bookings = await this.find(
|
const bookings = await this.find(
|
||||||
{
|
{
|
||||||
status: { $in: [BOOKING_STATUS.REQUESTED, BOOKING_STATUS.CONFIRMED] },
|
status: { $in: [BOOKING_STATUS.REQUESTED, BOOKING_STATUS.CONFIRMED] },
|
||||||
|
|||||||
Reference in New Issue
Block a user