fix: update android notification payload (#1090)

This commit is contained in:
Salvatore Giordano 2023-01-05 17:36:07 +01:00 committed by GitHub
parent 7d9e844068
commit a3dbe95d5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,7 +86,8 @@ def notify_user_async(user_pk, alert_group_pk, notification_policy_pk, critical)
"status": str(alert_group.status),
"type": "oncall.critical_message" if critical else "oncall.message",
"title": alert_title,
"body": f"{alert_subtitle}\n{alert_body}",
"subtitle": alert_subtitle,
"body": alert_body,
"thread_id": thread_id,
},
apns=APNSConfig(