Custom Session running twice on GET /api/auth/get-session
I'm trying out custom session to return some additonal team fields on the repsonse to use on the client side and i noticed(sinces its making a call to the db and i have the logger on) it's running the custom Session method twice for every single call to GET /api/auth/get-session is this to be expected or have i done something funky in my config
my custom session looks like the following:
on my logs you can see the request being called once but customsession is running twice?
my custom session looks like the following:
on my logs you can see the request being called once but customsession is running twice?
Solution
OK i had to do something funky i literaly had to copy over your customSessionClientPlugin
and make this change
Left everything else the same this is working now not sure where teh extra call was coiming from might be something on the hono end but its working regardless now...
and make this change
Left everything else the same this is working now not sure where teh extra call was coiming from might be something on the hono end but its working regardless now...