Skip to content

Firefly III: a personal finances manager

Update PiggyBankRequest.php

Mike Conway336a9a97f9ae
diff --git a/app/Api/V1/Requests/PiggyBankRequest.php b/app/Api/V1/Requests/PiggyBankRequest.php
index 3024b0eac9..080a9fe8c1 100644
--- a/app/Api/V1/Requests/PiggyBankRequest.php
+++ b/app/Api/V1/Requests/PiggyBankRequest.php
@@ -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'),
];
}