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 )