buggix
This commit is contained in:
parent
0723395119
commit
dfe961e4c9
@ -48,6 +48,7 @@ async def checkCustomerBalance(llmid, userid, userorgid, catelogid=None):
|
|||||||
balance = 0.00
|
balance = 0.00
|
||||||
tpac = await get_user_tpac(userid)
|
tpac = await get_user_tpac(userid)
|
||||||
if tpac:
|
if tpac:
|
||||||
|
debug(f'{tpac=}')
|
||||||
balance = await get_tpac_balance(tpac, userid)
|
balance = await get_tpac_balance(tpac, userid)
|
||||||
else:
|
else:
|
||||||
async with get_sor_context(env, 'accounting') as sor:
|
async with get_sor_context(env, 'accounting') as sor:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user