fix: remove whitelist

This commit is contained in:
prssanna 2019-11-19 16:39:31 +05:30
parent f8da091b93
commit f03bb82a3a

View file

@ -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