mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 14:27:23 +00:00
rephrase error messages
This commit is contained in:
@@ -158,7 +158,7 @@ export const registerSecretTagRouter = async (server: FastifyZodProvider) => {
|
||||
.trim()
|
||||
.describe(SECRET_TAGS.UPDATE.slug)
|
||||
.refine((v) => slugify(v) === v, {
|
||||
message: "Invalid slug. Should contain only characters, numbers and hyphen."
|
||||
message: "Invalid slug. Slug can only contain alphanumeric characters and hyphens."
|
||||
}),
|
||||
color: z.string().trim().describe(SECRET_TAGS.UPDATE.color)
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user