[fix] hub_url -> marketplace_url

This commit is contained in:
Prateeksha Singh 2018-09-01 00:39:08 +05:30
parent 747c464248
commit 1801cc8962

View File

@ -203,8 +203,8 @@ def get_hub_connection():
# read-only connection
if read_only:
hub_url = frappe.db.get_single_value('Marketplace Settings', 'hub_url')
hub_connection = FrappeClient(hub_url)
marketplace_url = frappe.db.get_single_value('Marketplace Settings', 'marketplace_url')
hub_connection = FrappeClient(marketplace_url)
return hub_connection
def get_field_mappings():