mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-09 00:01:18 +00:00
[fix] hub get_item_details (#11383)
This commit is contained in:
committed by
Rushabh Mehta
parent
dd0bdc7fa6
commit
40611e4f69
@@ -34,7 +34,9 @@ def get_categories():
|
||||
return response
|
||||
|
||||
@frappe.whitelist()
|
||||
def get_item_details(hub_sync_id):
|
||||
def get_item_details(hub_sync_id=None):
|
||||
if not hub_sync_id:
|
||||
return
|
||||
connection = get_connection()
|
||||
return connection.get_doc('Hub Item', hub_sync_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user