Skip to content

Commit

Permalink
Update ApiV1Controller, fix statusCreate validator
Browse files Browse the repository at this point in the history
  • Loading branch information
dansup committed Mar 23, 2022
1 parent 89303fa commit b6b15b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Api/ApiV1Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -2085,7 +2085,7 @@ public function statusCreate(Request $request)

$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',
Expand Down

0 comments on commit b6b15b0

Please sign in to comment.