hwihwi6108
04/20/2023, 5:46 PMimport Session from 'supertokens-node/recipe/session';
const session = await Session.getSession(req, res, { sessionRequired: false });
if (session !== undefined) {
let userId = session.getUserId();
}
rp_st
04/20/2023, 5:48 PMhwihwi6108
04/20/2023, 5:58 PMhttps://cdn.discordapp.com/attachments/1098666007087808723/1098669107408277584/image.png▾
rp_st
04/20/2023, 5:59 PMhwihwi6108
04/20/2023, 6:01 PMrp_st
04/20/2023, 6:01 PMrp_st
04/20/2023, 6:01 PMrp_st
04/20/2023, 6:02 PMhwihwi6108
04/20/2023, 6:37 PMrp_st
04/20/2023, 6:37 PM