From 0dd930168ae77add6f50cb275bfa932c17276464 Mon Sep 17 00:00:00 2001
From: Carina Antunes <carina.oliveira.antunes@cern.ch>
Date: Mon, 30 Oct 2023 10:42:18 +0100
Subject: [PATCH] Hotfix: Update utils.py

---
 notifications_routing/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/notifications_routing/utils.py b/notifications_routing/utils.py
index 7db30e5..5309ad3 100644
--- a/notifications_routing/utils.py
+++ b/notifications_routing/utils.py
@@ -100,7 +100,7 @@ def convert_notifications_sms_to_json_string(message, email):
         "notification_id": message[OutputMessageKeys.ID],
         "message_body": message[OutputMessageKeys.MESSAGE_BODY],
         "short_url": message[OutputMessageKeys.CHANNEL_SHORT_URL],
-        "summary": message[OutputMessageKeys.SUMMpreferences.pyARY],
+        "summary": message[OutputMessageKeys.SUMMARY],
         "phone_email": email,
     }
     return json.dumps(notif)
-- 
GitLab