From f03bb82a3a9a75d4fccdaa8ebf7b2f59766419fa Mon Sep 17 00:00:00 2001 From: prssanna Date: Tue, 19 Nov 2019 16:39:31 +0530 Subject: [PATCH] fix: remove whitelist --- .../desk/doctype/notification_settings/notification_settings.py | 1 - 1 file changed, 1 deletion(-) diff --git a/frappe/desk/doctype/notification_settings/notification_settings.py b/frappe/desk/doctype/notification_settings/notification_settings.py index ec969e485c..8cd7d93391 100644 --- a/frappe/desk/doctype/notification_settings/notification_settings.py +++ b/frappe/desk/doctype/notification_settings/notification_settings.py @@ -31,7 +31,6 @@ def is_email_notifications_enabled_for_type(user, notification_type): return True return enabled -@frappe.whitelist() def create_notification_settings(user): _doc = frappe.new_doc('Notification Settings') _doc.name = user