Only get pending reservations when looking for schedulable reservations
This commit is contained in:
parent
82633908a4
commit
afb733608d
1 changed files with 2 additions and 2 deletions
|
|
@ -55,8 +55,8 @@ export class ReservationsService {
|
||||||
endDate: dayjs().add(7, 'days').toISOString(),
|
endDate: dayjs().add(7, 'days').toISOString(),
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
.andWhere('status <> :status', {
|
.andWhere('status = :status', {
|
||||||
status: ReservationStatus.OnWaitingList,
|
statuses: ReservationStatus.Pending,
|
||||||
})
|
})
|
||||||
.orderBy('dateRangeStart', 'ASC')
|
.orderBy('dateRangeStart', 'ASC')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue