diff --git a/apps/web/lib/video/[uid]/getServerSideProps.ts b/apps/web/lib/video/[uid]/getServerSideProps.ts index 453d0ab463..f448eeb4d7 100644 --- a/apps/web/lib/video/[uid]/getServerSideProps.ts +++ b/apps/web/lib/video/[uid]/getServerSideProps.ts @@ -117,7 +117,7 @@ const checkIfUserIsHost = async ({ }); // If eventType exists, it means user is either owner, host or user - return !eventType; + return !!eventType; }; export async function getServerSideProps(context: GetServerSidePropsContext) {