routes return null
I'm using better-auth with fastify and all my auth routes are returning only "null" on the body. i'm kinda lost here trying to debug the reason. (yeah tried ask llms but even them can't help much)
// auth.ts
3 Replies
// index.ts

so looks like is the way i setup my routes. i placed it in a separated file, then i customized the auth url but it causes the endpoint to stop working for some reason.
i set /api/v1/auth/* (it does not work) but /api/auth/* works
for some reason it does not let me customize the url. that sucks
i wanted to add a api version