Files
CRM/app/Http/Requests/ImportsRequest.php
Kroonk a213a1dba0
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
refactor: replace custom CRM with Monica fork
2026-05-22 16:19:55 +02:00

19 lines
356 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|file|max:'.config('monica.max_upload_size').'|mimes:vcf,vcard',
];
}
}