소스 검색

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
     )

Loading…
취소
저장