Update PiggyBankRequest.php

Fix inconsistencies between repository and request variables
This commit is contained in:
Mike Conway 2018-10-03 19:37:16 -07:00 committed by GitHub
parent 89cc01ce44
commit 336a9a97f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,8 +58,8 @@ class PiggyBankRequest extends Request
'account_id' => $this->integer('account_id'),
'targetamount' => $this->string('target_amount'),
'current_amount' => $current,
'start_date' => $this->date('start_date'),
'target_date' => $this->date('target_date'),
'startdate' => $this->date('start_date'),
'targetdate' => $this->date('target_date'),
'notes' => $this->string('notes'),
];
}