From 65d32f64a07d865f656e112ab611959149afe135 Mon Sep 17 00:00:00 2001 From: emile Date: Thu, 5 Sep 2024 10:26:41 +0300 Subject: [PATCH] ne --- osinaweb/osichat/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osinaweb/osichat/models.py b/osinaweb/osichat/models.py index 7f85b089..7be18670 100644 --- a/osinaweb/osichat/models.py +++ b/osinaweb/osichat/models.py @@ -53,7 +53,7 @@ def send_notification(notification): body=notification_data['body'], image=notification.image if notification.image else None, ), - data={"id": notification.type_id, "type": notification.type}, + data={"id": str(notification.type_id), "type": notification.type}, android=android_config, apns=apns_config )