1
0
Fork 0

Merge pull request #4468 from pixelfed/staging

Update ImportPostController, fix typo
This commit is contained in:
daniel 2023-06-12 06:20:01 -06:00 committed by GitHub
commit 2dcfd68f01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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',