-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Information about bug
Traceback with variables (most recent call last):
File "apps/hrms/hrms/hr/doctype/pwa_notification/pwa_notification.py", line 22, in send_push_notification
push_notification.send_notification_to_user(
self = <PWANotification: 167>
PushNotification = <class 'frappe.push_notification.PushNotification'>
push_notification = <frappe.push_notification.PushNotification object at 0x7f3a55581650>
File "apps/frappe/frappe/push_notification.py", line 134, in send_notification_to_user
return response_data["success"]
self = <frappe.push_notification.PushNotification object at 0x7f3a55581650>
user_id = my email
title = 'Expense Claim'
body = 'Shamsuri raised a new Expense Claim for approval: HR-EXP-25-00025'
link = 'https://mysite/hrms/expense-claims/HR-EXP-25-00025'
icon = 'https://mysite/assets/hrms/manifest/favicon-196.png'
data = {'click_action': 'https://mysite/hrms/expense-claims/HR-EXP-25-00025', 'notification_icon': 'https://mysite/assets/hrms/manifest/favicon-196.png'}
truncate_body = True
strip_html = True
response_data = None
builtins.TypeError: 'NoneType' object is not subscriptable
Module
HR
Version
Frappe Framework: v15.86.0 (HEAD)
ERPNext: v15.83.0 (HEAD)
Frappe HR: v15.51.0 (HEAD)
Installation method
None
Relevant log output / Stack trace / Full Error Message.
Code of Conduct
- I agree to follow this project's Code of Conduct