19 lines
351 B
PHP
19 lines
351 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests;
|
|
|
|
class ImportsRequest extends AuthorizedRequest
|
|
{
|
|
/**
|
|
* Get the validation rules that apply to the request.
|
|
*
|
|
* @return array
|
|
*/
|
|
public function rules()
|
|
{
|
|
return [
|
|
'vcard' => 'required|max:'.config('monica.max_upload_size').'|mimes:vcf,vcard',
|
|
];
|
|
}
|
|
}
|