diff --git a/apps/web/pages/new-booker/[user]/[type].tsx b/apps/web/pages/new-booker/[user]/[type].tsx index 5eabd337b7..d74a879baf 100644 --- a/apps/web/pages/new-booker/[user]/[type].tsx +++ b/apps/web/pages/new-booker/[user]/[type].tsx @@ -101,7 +101,8 @@ async function getUserPageProps(context: GetServerSidePropsContext) { const ssr = await ssrInit(context); const user = await prisma.user.findFirst({ where: { - username, + /** TODO: We should standarize this */ + username: username.toLowerCase().replace(/( |%20)/g, "+"), organization: isValidOrgDomain ? { slug: currentOrgDomain,