Ver código fonte

Update auth-test.tsx

main
Steve Ruiz 4 anos atrás
pai
commit
519ba182d6
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5
    0
      pages/auth-test.tsx

+ 5
- 0
pages/auth-test.tsx Ver arquivo

@@ -21,6 +21,11 @@ export default function Home({ session }: any) {
21 21
 
22 22
 export async function getServerSideProps(context: GetServerSidePropsContext) {
23 23
   const session = await getSession(context)
24
+    .then((c) => {
25
+      console.log(c)
26
+      return c
27
+    })
28
+    .catch((e) => console.log(e))
24 29
 
25 30
   return {
26 31
     props: {

Carregando…
Cancelar
Salvar