Fixing fetchByDate query
This commit is contained in:
parent
548a393452
commit
76b887faba
1 changed files with 1 additions and 1 deletions
|
|
@ -254,7 +254,7 @@ export class Reservation {
|
|||
`
|
||||
SELECT *
|
||||
FROM reservations
|
||||
WHERE DATE(?, '-7 day') = ?
|
||||
WHERE DATE('now', '-7 day') = ?
|
||||
ORDER BY date_range_start DESC
|
||||
LIMIT ?;
|
||||
`,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue