mirror of
https://github.com/sergeyyarkov/educt-server.git
synced 2026-10-11 10:19:20 +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(
|
||||
schema.file({
|
||||
size: '10mb',
|
||||
size: '100mb',
|
||||
extnames: ['pdf', 'zip', 'rar', 'doc', 'docx'],
|
||||
})
|
||||
),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user