Update auth-test.tsx

This commit is contained in:
Steve Ruiz 2021-06-19 17:30:39 +01:00
parent 6711f980d8
commit bd3d191960

View file

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