Update auth-test.tsx
This commit is contained in:
parent
d749b1088b
commit
9bb680bfbf
1 changed files with 2 additions and 2 deletions
|
@ -62,13 +62,13 @@ export async function getServerSideProps(context: GetServerSidePropsContext) {
|
|||
console.log(
|
||||
session?.user,
|
||||
image,
|
||||
sponsors.map((sponsor: any) => sponsor.avatar === image)
|
||||
sponsors.map((sponsor: any) => sponsor.avatar)
|
||||
)
|
||||
|
||||
return {
|
||||
props: {
|
||||
isOwner: session?.user?.email === 'steveruizok@gmail.com',
|
||||
isSponsor: sponsor !== undefined,
|
||||
isSponsor: sponsor,
|
||||
ssrSession: session,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue