Smaller max size

This commit is contained in:
James Cole
2024-01-08 12:56:57 +01:00
parent ad981c2bf0
commit fcc0294d07
7 changed files with 7 additions and 7 deletions

View File

@@ -67,7 +67,7 @@ class PiggyBankUpdateRequest extends FormRequest
'targetamount' => ['nullable', new IsValidPositiveAmount()],
'startdate' => 'date',
'targetdate' => 'date|nullable',
'order' => 'integer|max:65536|min:1',
'order' => 'integer|max:32768|min:1',
'object_group' => 'min:0|max:255',
'notes' => 'min:1|max:32768|nullable',
];

View File

@@ -71,7 +71,7 @@ class TagFormRequest extends FormRequest
$rules = [
'tag' => $tagRule,
'id' => $idRule,
'description' => 'max:65536|min:1|nullable',
'description' => 'max:32768|min:1|nullable',
'date' => 'date|nullable',
];