From ff91fe432c9c91aa0e2cc9ba9fee8a02a7efcb08 Mon Sep 17 00:00:00 2001 From: Jan Willhaus Date: Sat, 1 Oct 2022 22:39:25 +0200 Subject: [PATCH] Make bulk rules clauses match bulk TransactionController params --- config/bulk.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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', ], ], ];