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(),
|
||||
},
|
||||
)
|
||||
.andWhere('status <> :status', {
|
||||
status: ReservationStatus.OnWaitingList,
|
||||
.andWhere('status = :status', {
|
||||
statuses: ReservationStatus.Pending,
|
||||
})
|
||||
.orderBy('dateRangeStart', 'ASC')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue