Hi team. Great to see this library evolving! Que...
# support-questions-legacy
m
Hi team. Great to see this library evolving! Question. I'm using the Node SDK, and I came across this page in the docs about using
getSession()
(the non-middleware form of
verifySession
). The behaviour of this function is unclear when there is no session to return. The docs say to check for
undefined
but the typings contradict this. Docs I'm referring to are here >> https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/sessions/session-verification-in-api/get-session#using-getsession