mirror of
https://github.com/abhinavxd/libredesk.git
synced 2026-09-24 03:16:20 +00:00
chore: Set max upload size value in zod schema to 30 MB.
This commit is contained in:
@@ -35,8 +35,8 @@ export const formSchema = z.object({
|
||||
.min(1, {
|
||||
message: 'Max upload file size must be at least 1 MB.'
|
||||
})
|
||||
.max(128, {
|
||||
message: 'Max upload file size cannot exceed 128 MB.'
|
||||
.max(30, {
|
||||
message: 'Max upload file size cannot exceed 30 MB.'
|
||||
}),
|
||||
allowed_file_upload_extensions: z.array(z.string()).nullable().default([]).optional()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user