Skip to content

Scheduling infrastructure for absolutely everyone.

fix: enable auto reording for organizer (#22882)

Anik Dhabal Babudbe8a85cf565
diff --git a/apps/web/lib/video/[uid]/getServerSideProps.ts b/apps/web/lib/video/[uid]/getServerSideProps.ts
index 453d0ab463a..f448eeb4d79 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) {