fix article max content
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user