Fixing dangling parentheses fucking shit up when trying to find reservations to delete
This commit is contained in:
parent
6f3777d768
commit
b1bee5feb9
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ export class ReservationsService {
|
|||
async getOlderThanDate(date = dayjs()) {
|
||||
const query = this.reservationsRepository
|
||||
.createQueryBuilder()
|
||||
.where(`(DATE(dateRangeStart) < DATE(:startDate)`, {
|
||||
.where(`DATE(dateRangeStart) < DATE(:startDate)`, {
|
||||
startDate: date.toISOString(),
|
||||
})
|
||||
.orderBy('dateRangeStart', 'ASC')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue