Size filter for large notes.

This commit is contained in:
James Cole 2023-12-31 06:09:36 +01:00
parent b778424b7e
commit 81a11ee5b4
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80
2 changed files with 2 additions and 0 deletions

View File

@ -64,6 +64,7 @@ class PiggyBankStoreRequest extends FormRequest
'targetdate' => 'date|nullable',
'order' => 'integer|min:1',
'object_group' => 'min:0|max:255',
'notes' => 'between:1,65536|nullable',
];
}
}

View File

@ -68,6 +68,7 @@ class PiggyBankUpdateRequest extends FormRequest
'targetdate' => 'date|nullable',
'order' => 'integer|max:65536|min:1',
'object_group' => 'min:0|max:255',
'notes' => 'between:1,65536|nullable',
];
}
}