Skip to content

Commit

Permalink
Validate StoreTorrentRequest with correct DB length
Browse files Browse the repository at this point in the history
  • Loading branch information
Obi-Wana committed May 27, 2024
1 parent fc18ca3 commit 66bb33a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Http/Requests/StoreTorrentRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,17 +105,17 @@ function (string $attribute, mixed $value, Closure $fail): void {
],
'description' => [
'required',
'max:2097152'
'max:65535'
],
'mediainfo' => [
'nullable',
'sometimes',
'max:2097152',
'max:65535',
],
'bdinfo' => [
'nullable',
'sometimes',
'max:2097152',
'max:4294967295',
],
'category_id' => [
'required',
Expand Down

0 comments on commit 66bb33a

Please sign in to comment.