TypeError: list.filter is not a function.
entire error:
Is it bun related? im using bun + hono
3 Replies
cc @bekacru
seems related to using redis as a secondstorage
there's an issue about it https://github.com/better-auth/better-auth/issues/1641
GitHub
Issue for secondaryStorage with redis · Issue #1641 · better-auth/b...
Is this suited for github? Yes, this is suited for github To Reproduce Create connect redis Login first Log out Login Second Current vs. Expected behavior SERVER_ERROR: [TypeError: list.filter is n...
I did also encounter that error yesterday but managed to fix it I am not home currently but let me check when I am back what my solution was
But maybe I am also stupid and there really is something wrong I don't exactly remember what the error was yesterday
here is my implementation i think the error is just that you need to remove the
JSON.stringify
from the get function:
i am using ioredis btw but even if you do not that should fix it atleast i am not getting the error anymore