Update ImportPostController, fix typo

This commit is contained in:
Daniel Supernault 2023-06-12 06:19:09 -06:00
parent c394fb76c6
commit ba58aaba36
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -160,7 +160,7 @@ class ImportPostController extends Controller
$this->checkPermissions($request);
$mimes = config('import.allow_video_posts') ? 'mimetypes:image/png,image/jpeg,video/mp4' : 'mimetypes:image/png,image/jpeg';
$mimes = config('import.instagram.allow_video_posts') ? 'mimetypes:image/png,image/jpeg,video/mp4' : 'mimetypes:image/png,image/jpeg';
$this->validate($request, [
'file' => 'required|array|max:10',