FCM Notification for ERPNext

Hello, I have used FCM Notification for ERPNext to send notifications to a mobile application following the instructions below:
Create a new Server Script with the given values:
i. Script Type: DocType Event
ii. Reference Document Type: Notification Log
iii. DocType Event: Before Insert
iv. Script: frappe.call(“fcm_notification.send_notification.send_notification”, doc=doc)

However, when using this, the event is not working when “Notification Log” add record. I am using Frappe Framework 14. Does anyone know? Please explain and help me with this issue.

Why are you making frappe.call()