buggix
This commit is contained in:
parent
90a036e6a9
commit
711e4fa6f9
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user