Parcourir la source

Update auth-test.tsx

main
Steve Ruiz il y a 4 ans
Parent
révision
519ba182d6
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5
    0
      pages/auth-test.tsx

+ 5
- 0
pages/auth-test.tsx Voir le fichier

@@ -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: {

Chargement…
Annuler
Enregistrer