Merge pull request #2 from emrysal/main

When navigating to a calendso user that does not exist, return notFound.
This commit is contained in:
Bailey Pumfleet
2021-04-09 13:03:51 +01:00
committed by GitHub

View File

@@ -57,6 +57,12 @@ export async function getServerSideProps(context) {
}
});
if (!user) {
return {
notFound: true,
}
}
return {
props: {
user