admin.listSessions returns 404 while userId is right
If I try to get every user session, I'll get a 404 error. Although I directly copied the User-ID and hardcoded it, it gives me 404:
2 Replies
I think it's called
listUserSessions
insteadthen, the docs seem to be wrong. I just updated it: https://github.com/better-auth/better-auth/pull/709