|
|
@ -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
|
|
|
|
)
|
|
|
|
)
|
|
|
|