helper function 'getSession' in hooks.server.ts do...
# help-and-questions
t
The function when ran, fetches data no longer existing on supabase. Any suggestions?

https://cdn.discordapp.com/attachments/1111035153003851888/1111035153230348379/image.png

j
If you're talking about the user data that's returned from
getSession
, then you'll need to use
getUser
if you want the freshest user data.