mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Update secret-tag-router.ts
This commit is contained in:
@@ -116,7 +116,7 @@ export const registerSecretTagRouter = async (server: FastifyZodProvider) => {
|
||||
.trim()
|
||||
.describe(SECRET_TAGS.CREATE.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.CREATE.color)
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user