Hello,
When using:
expires: { $lt: new Date() }
it works, however, when I set the time:
const expiresWhen = (time * 60) * 60
const expires = new Date()
expires.setSeconds(expires.getSeconds() + expiresWhen)
if expires becomes over 2.88 hours (around 10,000 seconds) it doesnt work.
How expires is stored:
Any help or advice would be helpful, thanks!