commit | c6b7695ab5343ef0309bf19b46de254d59720015 | [log] [tgz] |
---|---|---|
author | prssanna <prssud@gmail.com> | Fri Sep 13 12:32:42 2019 +0530 |
committer | prssanna <prssud@gmail.com> | Mon Sep 30 14:56:39 2019 +0530 |
tree | a3e96824648e3b8829d61fc0e862bf767069b776 | |
parent | c8ad8bb7aac3f114489cd1624efc3b4ab964226b [diff] |
fix: default private app type
diff --git a/erpnext/erpnext_integrations/utils.py b/erpnext/erpnext_integrations/utils.py index 9065779..6acb241 100644 --- a/erpnext/erpnext_integrations/utils.py +++ b/erpnext/erpnext_integrations/utils.py
@@ -36,7 +36,7 @@ try: url = frappe.request.url except RuntimeError: - url = "http://localhost:8000" + url = frappe.utils.get_url() server_url = '{uri.scheme}://{uri.netloc}/api/method/{endpoint}'.format(uri=urlparse(url), endpoint=endpoint)