Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export const ratelimitItemSchema = z.object({
id: z.string().nullish(), // Will be used only for updating case
name: z
.string()
.min(3, { message: "Name is required" })
.min(3, { message: "Name is required and should have at least 3 characters" })
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Akhileshait

CleanShot 2025-10-20 at 10 39 35 The same thing applies to the ratelimit -> name section.

Please adjust it there too

.max(256, { message: "Name cannot exceed 256 characters" }),
refillInterval: z.coerce
.number({
Expand Down
Loading