From 2a463c63b8a98374019214ea613ebd930e2ad61d Mon Sep 17 00:00:00 2001 From: Herculino Trotta Date: Sun, 14 Sep 2025 00:41:04 -0300 Subject: [PATCH] fix(rules:dry-run): Edit/Update transaction not showing message when transaction can't be found --- app/apps/rules/tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/apps/rules/tasks.py b/app/apps/rules/tasks.py index 58d3452..a152223 100644 --- a/app/apps/rules/tasks.py +++ b/app/apps/rules/tasks.py @@ -95,9 +95,9 @@ class DryRunResults: return if isinstance(end_instance, Transaction): - start_instance = end_instance.deepcopy() + end_instance = end_instance.deepcopy() elif isinstance(end_instance, dict): - start_instance = deepcopy(end_instance) + end_instance = deepcopy(end_instance) result = { "type": "update_or_create_transaction",