The returned data type from session on server is incorrect

When reading session on the api side, the dates are returned as date strings, that's why some checks (e.g. session freshness) are not working 😕 (I'm using Drizzle adapter)
2 Replies
Bart âš¡
Bart ⚡OP•2mo ago
It's basically an issue with cached session in cookie, as JSON.parse is not transforming date string into date 😉
bekacru
bekacru•2mo ago
I’ll take a look.

Did you find this page helpful?