Переглянути джерело

Update auth-test.tsx

main
Steve Ruiz 4 роки тому
джерело
коміт
eb53e385f1
1 змінених файлів з 1 додано та 1 видалено
  1. 1
    1
      pages/auth-test.tsx

+ 1
- 1
pages/auth-test.tsx Переглянути файл

@@ -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
     )

Завантаження…
Відмінити
Зберегти