chore: fix typo in comment
This commit is contained in:
parent
76afbaaa40
commit
d74e5d2e8a
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ def make_mapped_doc(method, source_name, selected_children=None, args=None):
|
|||
Called from `open_mapped_doc` from create_new.js"""
|
||||
|
||||
for hook in reversed(frappe.get_hooks("override_whitelisted_methods", {}).get(method, [])):
|
||||
# override using the first hook
|
||||
# override using the last hook
|
||||
method = hook
|
||||
break
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue