Skip to content

Firefly III: a personal finances manager

Make bulk rules clauses match bulk TransactionController params

Jan Willhausff91fe432c9c
diff --git a/config/bulk.php b/config/bulk.php
index 8a92da4205..7184d3702b 100644
--- a/config/bulk.php
+++ b/config/bulk.php
@@ -27,10 +27,10 @@ use FireflyIII\Enums\ClauseType;
return [
ClauseType::TRANSACTION => [
ClauseType::WHERE => [
- 'source_account_id' => 'required|numeric|belongsToUser:accounts,id',
+ 'account_id' => 'required|numeric|belongsToUser:accounts,id',
],
ClauseType::UPDATE => [
- 'destination_account_id' => 'required|numeric|belongsToUser:accounts,id',
+ 'account_id' => 'required|numeric|belongsToUser:accounts,id',
],
],
];