From 97a551f2ff057d93785443aff360935f3f635092 Mon Sep 17 00:00:00 2001 From: Carina Antunes <carina.oliveira.antunes@cern.ch> Date: Fri, 11 Feb 2022 16:25:58 +0000 Subject: [PATCH] audit: hotfix --- 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 9dcba61..100bb94 100644 --- a/notifications_routing/utils.py +++ b/notifications_routing/utils.py @@ -114,7 +114,7 @@ def convert_notification_push_to_json_string(message, device_id: str, device_tok "link": message[OutputMessageKeys.LINK], "img_url": message[OutputMessageKeys.IMGURL], "device_token": device_token, - "device_id": device_id, + "device_id": str(device_id), "encoding": encoding, "priority": message[OutputMessageKeys.PRIORITY], "notification_id": message[OutputMessageKeys.ID], -- GitLab