Update auth-test.tsx
This commit is contained in:
parent
6711f980d8
commit
bd3d191960
1 changed files with 8 additions and 0 deletions
|
@ -64,6 +64,14 @@ export async function getServerSideProps(context: GetServerSidePropsContext) {
|
|||
sponsor.avatar.includes(id)
|
||||
)
|
||||
|
||||
console.log(
|
||||
JSON.stringify({
|
||||
user: session.user,
|
||||
sponsors: sponsors,
|
||||
isSponsor: sponsor !== undefined,
|
||||
})
|
||||
)
|
||||
|
||||
isSponsor = sponsor !== undefined
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue