file request api update

This commit is contained in:
Čarodej
2022-05-04 09:03:18 +02:00
parent cf7e17e188
commit 67b9f7f4dc
3 changed files with 31 additions and 8 deletions

View File

@@ -23,10 +23,10 @@ class StoreUploadRequest extends FormRequest
public function rules()
{
return [
'email' => 'sometimes|string|nullable',
'notes' => 'sometimes|string|nullable',
'folder_id' => 'sometimes|string',
'name' => 'sometimes|string|nullable',
'email' => 'sometimes|email',
'notes' => 'sometimes|string',
'folder_id' => 'sometimes|uuid',
'name' => 'sometimes|string',
];
}
}