fix: evaluator name issue

This commit is contained in:
Jannat Patel
2024-09-19 14:19:55 +05:30
parent 3cda563583
commit 8c454a333e
3 changed files with 10 additions and 2 deletions

View File

@@ -2,4 +2,10 @@ import frappe
def execute():
frappe.db.delete("Notification", "Certificate Request Creation")
delete_notification("Certificate Request Creation")
delete_notification("Certificate Request Reminder")
def delete_notification(notification_name):
if frappe.db.exists("Notification", notification_name):
frappe.db.delete("Notification", notification_name)