Merge pull request #7072 from adityahase/fix-rest
fix(request): Pop data from form_dict when it isn't needed
This commit is contained in:
commit
38be97f619
1 changed files with 1 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ def handle():
|
|||
|
||||
if call=="method":
|
||||
frappe.local.form_dict.cmd = doctype
|
||||
frappe.local.form_dict.pop("data", None)
|
||||
return frappe.handler.handle()
|
||||
|
||||
elif call=="resource":
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue