Incorrect Response Data
Hi there I have setup better auth to be snake case but when i use
but this is what returned to me
i expected the response to look like this
but this is what returned to me
i expected the response to look like this
Solution
There isn't a solution which will solve all cases of returned data, however the primary data you'll receive is likely from
I recommend checking out the custom session plugin which you can return lowercase names as needed.
useSession / getSession, which fortunutely has a way to suit your needs.I recommend checking out the custom session plugin which you can return lowercase names as needed.