cleaned
This commit is contained in:
parent
551d77a7d9
commit
5ca331134c
7 changed files with 11 additions and 13 deletions
2
tasks.py
2
tasks.py
|
|
@ -41,7 +41,7 @@ async def on_invoice_paid(payment: Payment) -> None:
|
|||
# update something
|
||||
|
||||
data_to_update = {
|
||||
"total" temp.total + payment.amount
|
||||
"total": temp.total + payment.amount
|
||||
}
|
||||
|
||||
await update_temp(temp_id=temp_id, **data_to_update.dict())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue