Scheduling infrastructure for absolutely everyone.
fix: Vercel autoconverts + to a ' ' character. (#9920)
Alex van Andel6799e5f214cc
diff --git a/packages/lib/defaultEvents.ts b/packages/lib/defaultEvents.tsindex b49fc87d686..be8d3a1cb63 100644--- a/packages/lib/defaultEvents.ts+++ b/packages/lib/defaultEvents.ts@@ -178,7 +178,7 @@ export const getUsernameList = (users: string | string[] | undefined): string[]// So, even though this code handles even if individual user is dynamic link, that isn't a possibility right now.users = arrayCast(users);- const allUsers = users.map((user) => user.split("+")).flat();+ const allUsers = users.map((user) => user.replace(/( |%20|%2b)/g, "+").split("+")).flat();return Array.prototype.concat(...allUsers.map((userSlug) => slugify(userSlug)));};