From a80745223ac9d77f2404ef2e8451a0fd8c5145c0 Mon Sep 17 00:00:00 2001 From: Felipe Alvarado Date: Wed, 6 Nov 2024 12:30:12 +0100 Subject: [PATCH] Apply PR suggestion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Uxío --- .../history/services/notification_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/safe_transaction_service/history/services/notification_service.py b/safe_transaction_service/history/services/notification_service.py index b550185ac..b56dc38cb 100644 --- a/safe_transaction_service/history/services/notification_service.py +++ b/safe_transaction_service/history/services/notification_service.py @@ -233,7 +233,7 @@ def _build_delegate_payload( """ return DelegatePayload( type=event_type.name, - safeAddress=instance.safe_contract.address if instance.safe_contract else None, + safeAddress=instance.safe_contract_id if instance.safe_contract_id else None, delegate=instance.delegate, delegator=instance.delegator, label=instance.label,