mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-23 21:22:42 +01:00
refactor(call_log): type annotations for whitelisted methods
This commit is contained in:
@@ -126,7 +126,7 @@ class CallLog(Document):
|
||||
|
||||
|
||||
@frappe.whitelist()
|
||||
def add_call_summary_and_call_type(call_log, summary, call_type):
|
||||
def add_call_summary_and_call_type(call_log: str, summary: str, call_type: str):
|
||||
doc = frappe.get_doc("Call Log", call_log)
|
||||
doc.type_of_call = call_type
|
||||
doc.save()
|
||||
|
||||
Reference in New Issue
Block a user