diff --git a/odex25_mobile/odex_web_app/models/hr_employee.py b/odex25_mobile/odex_web_app/models/hr_employee.py index c46dff3e4..2380f685b 100644 --- a/odex25_mobile/odex_web_app/models/hr_employee.py +++ b/odex25_mobile/odex_web_app/models/hr_employee.py @@ -23,7 +23,10 @@ class HrEmployee(models.Model): body = json.dumps({ "to": self.fcm_token_web, "direct_boot_ok": True, - "notification": notification + "notification": { + "title": "Message", + "body": notification + } }) try: respons = requests.post(url=url, data=body, headers=header)