mirror of
https://github.com/sergeyyarkov/educt-server.git
synced 2026-10-11 18:29:15 +03:00
feat: added materials uploader
This commit is contained in:
parent
ef3711a367
commit
df08f65a3b
@ -16,7 +16,7 @@ export default class CreateLessonValidator {
|
|||||||
}),
|
}),
|
||||||
materials: schema.array.optional().members(
|
materials: schema.array.optional().members(
|
||||||
schema.file({
|
schema.file({
|
||||||
size: '10mb',
|
size: '100mb',
|
||||||
extnames: ['pdf', 'zip', 'rar', 'doc', 'docx'],
|
extnames: ['pdf', 'zip', 'rar', 'doc', 'docx'],
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user