Update auth-test.tsx

This commit is contained in:
Steve Ruiz 2021-06-20 08:55:36 +01:00
parent 9e36c24800
commit 519ba182d6

View file

@ -21,6 +21,11 @@ export default function Home({ session }: any) {
export async function getServerSideProps(context: GetServerSidePropsContext) { export async function getServerSideProps(context: GetServerSidePropsContext) {
const session = await getSession(context) const session = await getSession(context)
.then((c) => {
console.log(c)
return c
})
.catch((e) => console.log(e))
return { return {
props: { props: {