main
emile 8 months ago
parent 5fa1c6d601
commit ded8313420

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

Loading…
Cancel
Save