refactor: replace custom CRM with Monica fork
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
This commit is contained in:
18
app/Http/Requests/ImportsRequest.php
Normal file
18
app/Http/Requests/ImportsRequest.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?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',
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user