Attempted fix for #6475

This commit is contained in:
James Cole
2022-09-30 20:07:01 +02:00
parent 1558e87923
commit 4474a71e65
13 changed files with 33 additions and 33 deletions

View File

@@ -44,7 +44,7 @@ class PiggyBankUpdateRequest extends FormRequest
return [
'name' => $this->convertString('name'),
'startdate' => $this->getCarbonDate('startdate'),
'account_id' => $this->integer('account_id'),
'account_id' => $this->convertInteger('account_id'),
'targetamount' => $this->convertString('targetamount'),
'targetdate' => $this->getCarbonDate('targetdate'),
'notes' => $this->stringWithNewlines('notes'),