Merge pull request #7113 from netchampfaris/request-data-fix

fix: Dont append request data to form_dict
This commit is contained in:
Suraj Shetty 2019-03-25 14:09:31 +05:30 committed by GitHub
commit 39b1de93f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,8 +57,6 @@ def application(request):
response = frappe.handler.handle()
elif frappe.request.path.startswith("/api/"):
if frappe.local.form_dict.data is None:
frappe.local.form_dict.data = request.get_data()
response = frappe.api.handle()
elif frappe.request.path.startswith('/backups'):