mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-26 17:56:48 +00:00
Merge pull request #4468 from pixelfed/staging
Update ImportPostController, fix typo
This commit is contained in:
commit
2dcfd68f01
1 changed files with 1 additions and 1 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue