bugfix
This commit is contained in:
parent
83f36aea83
commit
133f734cd9
@ -130,7 +130,7 @@ async def modify_llmusage_status(llmusage):
|
|||||||
})
|
})
|
||||||
|
|
||||||
async def get_llm_llmusage(luid):
|
async def get_llm_llmusage(luid):
|
||||||
env = request._run_ns
|
env = ServerEnv()
|
||||||
async with get_sor_context(env, 'llmage') as sor:
|
async with get_sor_context(env, 'llmage') as sor:
|
||||||
recs = await sor.R('llmusage', {'id': luid})
|
recs = await sor.R('llmusage', {'id': luid})
|
||||||
if len(recs) == 0:
|
if len(recs) == 0:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user