From 48075083483d0fdea25d302cc03a48c16ae563ac Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 22 May 2026 14:44:12 +0800 Subject: [PATCH] buggix --- llmage/accounting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llmage/accounting.py b/llmage/accounting.py index f8a2931..060675c 100644 --- a/llmage/accounting.py +++ b/llmage/accounting.py @@ -51,7 +51,7 @@ async def checkCustomerBalance(llmid, userid, userorgid, catelogid=None): balance = await get_tpac_balance(apikey, userid) else: async with get_sor_context(env, 'accounting') as sor: - balance = await getCustomerBalance(userorgid) + balance = await getCustomerBalance(sor, userorgid) bal = 0 if balance is None else balance if llm.min_balance is None: llm.min_balance = 0.00