Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Add info to array.
James Cole2263aa4dbe7d
diff --git a/app/Api/V1/Requests/Models/Transaction/StoreRequest.php b/app/Api/V1/Requests/Models/Transaction/StoreRequest.phpindex 07ffdb674d..33e3c091ab 100644--- a/app/Api/V1/Requests/Models/Transaction/StoreRequest.php+++ b/app/Api/V1/Requests/Models/Transaction/StoreRequest.php@@ -57,6 +57,7 @@ class StoreRequest extends FormRequest'group_title' => $this->string('group_title'),'error_if_duplicate_hash' => $this->boolean('error_if_duplicate_hash'),'apply_rules' => $this->boolean('apply_rules', true),+ 'fire_webhooks' => $this->boolean('fire_webhooks', true),'transactions' => $this->getTransactionData(),];diff --git a/app/Api/V1/Requests/Models/Transaction/UpdateRequest.php b/app/Api/V1/Requests/Models/Transaction/UpdateRequest.phpindex dc4a0593ce..7214828228 100644--- a/app/Api/V1/Requests/Models/Transaction/UpdateRequest.php+++ b/app/Api/V1/Requests/Models/Transaction/UpdateRequest.php@@ -129,6 +129,9 @@ class UpdateRequest extends FormRequestif ($this->has('apply_rules')) {$data['apply_rules'] = $this->boolean('apply_rules', true);}+ if ($this->has('fire_webhooks')) {+ $data['fire_webhooks'] = $this->boolean('fire_webhooks', true);+ }if ($this->has('group_title')) {$data['group_title'] = $this->string('group_title');}