Skip to content

Commit

Permalink
fix: get_user_default_as_list args order
Browse files Browse the repository at this point in the history
  • Loading branch information
dj12djdjs committed Mar 8, 2024
1 parent 55b9664 commit ac1961b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def get_default_company(user=None):
if not user:
user = frappe.session.user

companies = get_user_default_as_list(user, "company")
companies = get_user_default_as_list("company", user)
if companies:
default_company = companies[0]
else:
Expand Down

0 comments on commit ac1961b

Please sign in to comment.