mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-11 14:40:46 +00:00
Update ApiV1Controller, fix statusCreate validator
This commit is contained in:
parent
89303fa478
commit
b6b15b0cce
1 changed files with 1 additions and 1 deletions
|
@ -2085,7 +2085,7 @@ class ApiV1Controller extends Controller
|
||||||
|
|
||||||
$this->validate($request, [
|
$this->validate($request, [
|
||||||
'status' => 'nullable|string',
|
'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' => 'array|max:' . config_cache('pixelfed.max_album_length'),
|
||||||
'media_ids.*' => 'integer|min:1',
|
'media_ids.*' => 'integer|min:1',
|
||||||
'sensitive' => 'nullable|boolean',
|
'sensitive' => 'nullable|boolean',
|
||||||
|
|
Loading…
Reference in a new issue