diff --git a/llmage/accounting.py b/llmage/accounting.py index 1c869fb..f8a2931 100644 --- a/llmage/accounting.py +++ b/llmage/accounting.py @@ -41,7 +41,7 @@ async def checkCustomerBalance(llmid, userid, userorgid, catelogid=None): debug(f'checkCustomerBalance(): llmid is None') return False env = ServerEnv() - llm = await get_llm(llm) + llm = await get_llm(llmid) if llm.ownerid == userorgid: debug(f'self orgid user') return True