update: change validation for file size material for update
This commit is contained in:
parent
39183d44ff
commit
8652a61241
|
|
@ -73,6 +73,7 @@ public function update(Request $request, $id)
|
|||
'title' => 'required|string',
|
||||
'description' => 'nullable|string',
|
||||
'file_path' => 'nullable|file|mimes:pdf,doc,docx,txt|max:1048576'
|
||||
|
||||
]);
|
||||
|
||||
$material = LiteracyMaterial::findOrFail($id);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user