1
0
Fork 0
forked from mirror/pixelfed

Merge pull request #893 from pixelfed/frontend-ui-refactor

Update StatusController
This commit is contained in:
daniel 2019-02-26 21:33:10 -07:00 committed by GitHub
commit 64b38e0003
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,7 +110,7 @@ class StatusController extends Controller
$this->validate($request, [
'photo.*' => 'required|mimetypes:' . config('pixelfed.media_types').'|max:' . config('pixelfed.max_photo_size'),
'caption' => 'string|max:'.config('pixelfed.max_caption_length'),
'caption' => 'nullable|string|max:'.config('pixelfed.max_caption_length'),
'cw' => 'nullable|string',
'filter_class' => 'nullable|string',
'filter_name' => 'nullable|string',