There was a bug with MongoDB where we were losing the tz from expiration_date after the load from DB.
As a result, we weren't able to compare the current date.
Error message
"detail": "can't compare offset-naive and offset-aware datetimes" the datetime.now(tz=utc) + timedelta(minutes=value) loose the tz ?
This got fixed, but we have to right more test cases
There was a bug with MongoDB where we were losing the tz from expiration_date after the load from DB.
As a result, we weren't able to compare the current date.
Error message
"detail": "can't compare offset-naive and offset-aware datetimes" the datetime.now(tz=utc) + timedelta(minutes=value) loose the tz ?This got fixed, but we have to right more test cases