Update ApiV1Controller, fix statusCreate validator

pull/3329/head
Daniel Supernault 3 years ago
parent 89303fa478
commit b6b15b0cce
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -2085,7 +2085,7 @@ class ApiV1Controller extends Controller
$this->validate($request, [
'status' => 'nullable|string',
'in_reply_to_id' => 'nullable|integer',
'in_reply_to_id' => 'nullable',
'media_ids' => 'array|max:' . config_cache('pixelfed.max_album_length'),
'media_ids.*' => 'integer|min:1',
'sensitive' => 'nullable|boolean',

Loading…
Cancel
Save