This commit is contained in:
arcbtc 2023-12-08 22:09:40 +00:00
parent 551d77a7d9
commit 5ca331134c
7 changed files with 11 additions and 13 deletions

View file

@ -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())