bugfix
This commit is contained in:
parent
d8bd0348b0
commit
3160730f47
@ -27,8 +27,7 @@ async def llm_charging(ppid, llmusage):
|
|||||||
amount += p.amount
|
amount += p.amount
|
||||||
if p.cost:
|
if p.cost:
|
||||||
cost += p.cost
|
cost += p.cost
|
||||||
discount = await env.sor_get_customer_discount(sor,
|
discount = await env.get_customer_discount(llmusage.ownerid,
|
||||||
llmusage.ownerid,
|
|
||||||
llmusage.userorgid)
|
llmusage.userorgid)
|
||||||
return DictObject(**{
|
return DictObject(**{
|
||||||
'original_amount': amount,
|
'original_amount': amount,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user