diff --git a/notifications_routing/router.py b/notifications_routing/router.py index ca6d711bb8516200a69ac94f743a1047fd59bb73..144a11fbe4983f1a9192e8308cb4da32aae780fc 100644 --- a/notifications_routing/router.py +++ b/notifications_routing/router.py @@ -65,7 +65,7 @@ class Router(megabus.Listener): str(OutputMessageKeys.CHANNEL_ID): channel[str(InputMessageKeys.ID)], str(OutputMessageKeys.CHANNEL_NAME): channel[str(InputMessageKeys.NAME)], str(OutputMessageKeys.CHANNEL_SLUG): channel[str(InputMessageKeys.SLUG)], - str(OutputMessageKeys.CHANNEL_SHORT_URL): channel[str(InputMessageKeys.SHORT_URL)], + str(OutputMessageKeys.CHANNEL_SHORT_URL): channel.get(str(InputMessageKeys.SHORT_URL)), str(OutputMessageKeys.PRIORITY): message_json[str(InputMessageKeys.PRIORITY)], str(OutputMessageKeys.CREATED_TIMESTAMP): convert_timestamp_to_local_timezone( message_json[str(InputMessageKeys.SENT_AT)]