Update StatusController

This commit is contained in:
Daniel Supernault 2019-03-08 01:18:59 -07:00
parent 8e5bdf6368
commit 0c6d0c3ca9
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -112,7 +112,7 @@ class StatusController extends Controller
'photo.*' => 'required|mimetypes:' . config('pixelfed.media_types').'|max:' . config('pixelfed.max_photo_size'),
'caption' => 'nullable|string|max:'.config('pixelfed.max_caption_length'),
'cw' => 'nullable|string',
'filter_class' => 'nullable|string',
'filter_class' => 'nullable|alpha_dash|max:30',
'filter_name' => 'nullable|string',
'visibility' => 'required|string|min:5|max:10',
]);