fix: Do not pass doc to notify_system_managers method
This commit is contained in:
parent
ce058b2397
commit
f06971d0c4
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ def confirm_deletion(email, name, host_name):
|
|||
if doc.status == 'Pending Verification':
|
||||
doc.status = 'Pending Approval'
|
||||
doc.save(ignore_permissions=True)
|
||||
doc.notify_system_managers(doc)
|
||||
doc.notify_system_managers()
|
||||
frappe.db.commit()
|
||||
frappe.respond_as_web_page(_("Confirmed"),
|
||||
_("The process for deletion of {0} data associated with {1} has been initiated.").format(host_name, email),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue