Add sensible maximum values.

This commit is contained in:
James Cole
2023-04-26 06:17:04 +02:00
parent 38ed70243e
commit 0a60f63bf8
28 changed files with 48 additions and 48 deletions

View File

@@ -70,7 +70,7 @@ class PiggyBankUpdateRequest extends FormRequest
'targetamount' => 'nullable|numeric|max:1000000000',
'startdate' => 'date',
'targetdate' => 'date|nullable',
'order' => 'integer|min:1',
'order' => 'integer|max:65536|min:1',
'object_group' => 'min:0|max:255',
];
}