Add rule for notes and better escaping in errors.

This commit is contained in:
James Cole
2023-04-26 05:29:28 +02:00
parent c2f5fbe7d3
commit d8eb084240
2 changed files with 2 additions and 1 deletions

View File

@@ -81,6 +81,7 @@ class BillUpdateRequest extends FormRequest
'repeat_freq' => sprintf('required|in:%s', join(',', config('firefly.bill_periods'))),
'skip' => 'required|integer|gte:0|lte:31',
'active' => 'boolean',
'notes' => 'between:1,65536|nullable',
];
}
}