Fixing dangling parentheses fucking shit up when trying to find reservations to delete
Some checks failed
ci/woodpecker/manual/test Pipeline was canceled
ci/woodpecker/manual/deploy unknown status

This commit is contained in:
collin 2026-06-15 17:05:11 +02:00
parent 6f3777d768
commit b1bee5feb9
No known key found for this signature in database

View file

@ -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')