mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 19:28:09 +00:00
nit: update error message
This commit is contained in:
committed by
Daniel Hougaard
parent
2032063c24
commit
ce057f44ac
@@ -23,7 +23,7 @@ const slugSchema = z
|
|||||||
.min(5)
|
.min(5)
|
||||||
.max(36)
|
.max(36)
|
||||||
.refine((v) => slugify(v) === v, {
|
.refine((v) => slugify(v) === v, {
|
||||||
message: "Slug must be a valid slug"
|
message: "Slug must be at least 5 character but no more than 36"
|
||||||
});
|
});
|
||||||
|
|
||||||
export const registerProjectRouter = async (server: FastifyZodProvider) => {
|
export const registerProjectRouter = async (server: FastifyZodProvider) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user