Merge pull request #21896 from frappe/mergify/bp/version-13-beta-pre-release/pr-21895
fix: Company query for number cards (bp #21895)
diff --git a/erpnext/healthcare/dashboard_fixtures.py b/erpnext/healthcare/dashboard_fixtures.py
index 59da71a..967117d 100644
--- a/erpnext/healthcare/dashboard_fixtures.py
+++ b/erpnext/healthcare/dashboard_fixtures.py
@@ -19,7 +19,7 @@
else:
company = frappe.get_list("Company", limit=1)
if company:
- return company.name
+ return company[0].name
return None
def get_dashboards():