emile 8 months ago
parent a19b2c3397
commit 65d32f64a0

@ -53,7 +53,7 @@ def send_notification(notification):
body=notification_data['body'], body=notification_data['body'],
image=notification.image if notification.image else None, 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, android=android_config,
apns=apns_config apns=apns_config
) )

Loading…
Cancel
Save