Skip to content

Commit 56be57d

Browse files
fix: limit team name length to a maximum of 9 characters (#612)
Co-authored-by: svcAPLBot <174728082+svcAPLBot@users.noreply.github.com>
1 parent 8966ed5 commit 56be57d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/teams/create-edit/create-edit-teams.validator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const createTeamApiResponseSchema = yup.object({
5050
name: yup
5151
.string()
5252
.required('Team name is required')
53-
.max(10, 'Team name must be at most 10 characters')
53+
.max(9, 'Team name must not exceed 9 characters')
5454
.matches(/^[^A-Z_]*$/, 'Team name cannot contain capital letters or underscores'),
5555
oidc: yup
5656
.object({

0 commit comments

Comments
 (0)