Explorar el Código

Update auth-test.tsx

main
Steve Ruiz hace 4 años
padre
commit
eb53e385f1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      pages/auth-test.tsx

+ 1
- 1
pages/auth-test.tsx Ver fichero

@@ -67,7 +67,7 @@ export async function getServerSideProps(context: GetServerSidePropsContext) {
67 67
     console.log(
68 68
       JSON.stringify({
69 69
         user: session.user,
70
-        sponsors: sponsors,
70
+        sponsors: sponsors.map((sponsor: any) => sponsor.avatar),
71 71
         isSponsor: sponsor !== undefined,
72 72
       })
73 73
     )

Loading…
Cancelar
Guardar