Update StoreStatusEditRequest.php

pull/6284/head
Shlee 1 week ago committed by GitHub
parent 133e497879
commit 4c27f8ff58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -44,7 +44,7 @@ class StoreStatusEditRequest extends FormRequest
public function rules(): array public function rules(): array
{ {
return [ return [
'status' => 'sometimes|max:'.config_cache('pixelfed.max_caption_length', 500), 'status' => 'sometimes|max:'.config_cache('pixelfed.max_caption_length'),
'spoiler_text' => 'nullable|string|max:140', 'spoiler_text' => 'nullable|string|max:140',
'sensitive' => 'sometimes|boolean', 'sensitive' => 'sometimes|boolean',
'media_ids' => [ 'media_ids' => [

Loading…
Cancel
Save