From 3bca1849cc3fb998408a722f610eac903ccc4aff Mon Sep 17 00:00:00 2001 From: Astrid <112440960+AKonicki26@users.noreply.github.com> Date: Wed, 18 Jun 2025 10:33:23 -0400 Subject: [PATCH] Increase tournament organization max name length (#2403) Increases the character limit on an organization's name from 32 -> 64 characters. 64 is chosen to follow the 2^n pattern from 32 --- .../tournament-organization/tournament-organization-schemas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/features/tournament-organization/tournament-organization-schemas.ts b/app/features/tournament-organization/tournament-organization-schemas.ts index f8f9de0c8..240931052 100644 --- a/app/features/tournament-organization/tournament-organization-schemas.ts +++ b/app/features/tournament-organization/tournament-organization-schemas.ts @@ -14,7 +14,7 @@ export const organizationEditSchema = z.object({ .string() .trim() .min(2) - .max(32) + .max(64) .refine((val) => mySlugify(val).length >= 2, { message: "Not enough non-special characters", }),