I have added the variable again now but I was very surprised that the function didn't error out first, but seemed to be functioning anyway.
TL;DR
"Now" is not a keyword in queries. It was likely a variable for `Date.now()` that was removed but the function still worked without error. Add the variable back as `now` to ensure proper functionality.
darShan
23 Oct, 2024, 12:03
now is not really a keyword for query. Could've been an import or a variable for Date.now() from somewhere?