diff --git a/kubernetes/apps/default/pushover-notifier/ankr-queries/config/config.yaml b/kubernetes/apps/default/pushover-notifier/ankr-queries/config/config.yaml index e3edf267c..438cf6f42 100644 --- a/kubernetes/apps/default/pushover-notifier/ankr-queries/config/config.yaml +++ b/kubernetes/apps/default/pushover-notifier/ankr-queries/config/config.yaml @@ -1,3 +1,5 @@ addresses: - address: "0xd14a28667d263efda2033ceb3b466399723c9c9c" memo: "@Defi_Maestro" + - address: "0xc880e1befe692db8b1c71357130f25630239e6fc" + memo: "@Defi_Maestro2" diff --git a/kubernetes/apps/default/pushover-notifier/ankr-queries/config/script.py b/kubernetes/apps/default/pushover-notifier/ankr-queries/config/script.py index dc4087038..98496e2b2 100644 --- a/kubernetes/apps/default/pushover-notifier/ankr-queries/config/script.py +++ b/kubernetes/apps/default/pushover-notifier/ankr-queries/config/script.py @@ -41,6 +41,7 @@ def send_pushover_notification(title, message): payload = { 'token': PUSHOVER_API_TOKEN, 'user': PUSHOVER_USER_KEY, + 'html': 1, 'title': title, 'message': message } @@ -85,7 +86,7 @@ def process_new_transactions(address, memo): send_pushover_notification( f"New Transaction: {memo}", - f"Transaction Hash: {tx_hash}\nBlockchain: {blockchain}\nTimestamp: {timestamp}" + f"Transaction Hash: {tx_hash}
Blockchain: {blockchain}
Timestamp: {timestamp}" ) # Main function