nit: update error message

This commit is contained in:
Maidul Islam
2024-02-28 11:08:37 -05:00
committed by Daniel Hougaard
parent 2032063c24
commit ce057f44ac

View File

@ -23,7 +23,7 @@ const slugSchema = z
.min(5)
.max(36)
.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) => {