fix article max content

This commit is contained in:
ItsMalma
2025-12-12 12:20:56 +07:00
parent e17bbe1549
commit 6a8d89c171

View File

@@ -16,10 +16,7 @@ export const articleRequestSchema = z.object({
"Must be array.",
)
.nonempty("Must not empty."),
content: z
.string("Must be string.")
.nonempty("Must not empty.")
.max(100, "Max 100 characters."),
content: z.string("Must be string.").nonempty("Must not empty."),
});
export const articleQuerySchema = z.intersection(