mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-22 08:38:35 +02:00
fix(rules:dry-run): Edit/Update transaction not showing message when transaction can't be found
This commit is contained in:
@@ -95,9 +95,9 @@ class DryRunResults:
|
|||||||
return
|
return
|
||||||
|
|
||||||
if isinstance(end_instance, Transaction):
|
if isinstance(end_instance, Transaction):
|
||||||
start_instance = end_instance.deepcopy()
|
end_instance = end_instance.deepcopy()
|
||||||
elif isinstance(end_instance, dict):
|
elif isinstance(end_instance, dict):
|
||||||
start_instance = deepcopy(end_instance)
|
end_instance = deepcopy(end_instance)
|
||||||
|
|
||||||
result = {
|
result = {
|
||||||
"type": "update_or_create_transaction",
|
"type": "update_or_create_transaction",
|
||||||
|
|||||||
Reference in New Issue
Block a user