ITEnthusiasm
07/06/2022, 2:23 PMSession
imported from "supertokens-node/recipe/session"
for the NodeJS package... the TS types say that Session.getSession
returns Promise<Session.SessionContainer | undefined>
.
I thought that an error was thrown whenever a session
isn't found by getSession
. Is there ever a case where session
is undefined
and no error is thrown?rp_st
07/06/2022, 3:44 PMITEnthusiasm
07/06/2022, 3:50 PM