fix(validation): disallow whitespace-only team name (#25467)

* fix(validation): disallow whitespace-only team name

* fix validation at team profile

* fix validation for title at event type

---------

Co-authored-by: Dhairyashil Shinde <[email protected]>
This commit is contained in:
AbhishekandDhairyashil Shinde authored and GitHub committed 2025-12-11 07:09:05 +00:00
1 parent 060176cd08
commit d3f7308b9f
3 files changed
+21 -16

No files matched your search

+1 -1
View File
@@ -262,7 +262,7 @@ const calVideoSettingsSchema = z
export const createEventTypeInput = z
.object({
title: z.string().min(1),
title: z.string().trim().min(1),
slug: eventTypeSlug,
description: z.string().nullish(),
length: z.number().int(),