authClient.signOut error when multiSession() enabled with prisma adaptor

ERROR Invalid prisma.session.delete() invocation nextjs app - better-auth 0.5.2-beta.17
after encountered similar error on my project, i cloned the official demo app and replaced database adaptor with prisma ended up with the above mentioned error.
error is not present when removing multiSession() plugin.
Screenshot_2024-10-21_at_6.59.54_AM.png
Was this page helpful?