|
|
@ -51,7 +51,7 @@ def send_notification(notification):
|
|
|
|
body=notification_data['body'],
|
|
|
|
body=notification_data['body'],
|
|
|
|
image=notification.image,
|
|
|
|
image=notification.image,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
data={"image": notification.image, "id": notification.type_id, "type": notification.type},
|
|
|
|
data={"image": notification.image},
|
|
|
|
android=android_config,
|
|
|
|
android=android_config,
|
|
|
|
apns=apns_config
|
|
|
|
apns=apns_config
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -63,7 +63,6 @@ def send_notification(notification):
|
|
|
|
title=notification_data['title'],
|
|
|
|
title=notification_data['title'],
|
|
|
|
body=notification_data['body'],
|
|
|
|
body=notification_data['body'],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
data={"id": notification.type_id, "type": notification.type},
|
|
|
|
|
|
|
|
android=android_config,
|
|
|
|
android=android_config,
|
|
|
|
apns=apns_config
|
|
|
|
apns=apns_config
|
|
|
|
)
|
|
|
|
)
|
|
|
|