|
|
@@ -26,7 +26,7 @@ class HTTPRequest: |
|
|
|
|
|
|
|
# override request method. All request to be of type POST, but if _type == "POST" then commit |
|
|
|
if webnotes.form_dict.get("_type"): |
|
|
|
webnotes.request_method = webnotes.form_dict.get("_type") |
|
|
|
webnotes.local.request_method = webnotes.form_dict.get("_type") |
|
|
|
del webnotes.form_dict["_type"] |
|
|
|
|
|
|
|
# set db |
|
|
|