[minor] minor fixes in get_company_details for Hub page (#11168)

This commit is contained in:
Makarand Bauskar 2017-10-25 12:19:10 +05:30 committed by Nabin Hait
parent 49a7bde6e2
commit 085b4842a1

View File

@ -483,7 +483,7 @@ erpnext.hub.Hub = class Hub {
} }
frappe.call({ frappe.call({
method: 'erpnext.hub_node.get_company_details', method: 'erpnext.hub_node.get_company_details',
args: {company_id: company_id} args: {hub_sync_id: company_id}
}).then((r) => { }).then((r) => {
if (r.message) { if (r.message) {
const company_details = r.message.company_details; const company_details = r.message.company_details;