Fixing fetchByDate query

This commit is contained in:
Collin Duncan 2023-02-10 15:09:34 +01:00
parent 548a393452
commit 76b887faba
No known key found for this signature in database

View file

@ -254,7 +254,7 @@ export class Reservation {
` `
SELECT * SELECT *
FROM reservations FROM reservations
WHERE DATE(?, '-7 day') = ? WHERE DATE('now', '-7 day') = ?
ORDER BY date_range_start DESC ORDER BY date_range_start DESC
LIMIT ?; LIMIT ?;
`, `,