[fix] hub_url -> marketplace_url
diff --git a/erpnext/hub_node/api.py b/erpnext/hub_node/api.py
index 84ec3a1..b9a3295 100644
--- a/erpnext/hub_node/api.py
+++ b/erpnext/hub_node/api.py
@@ -203,8 +203,8 @@
# 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():