Change asdict to dict (#1757)

This commit is contained in:
Arc 2023-06-15 14:44:44 +01:00 committed by GitHub
parent ec623f4861
commit cd17b59a3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ async def wait_for_paid_invoices(invoice_paid_queue: asyncio.Queue):
payment.wallet_id,
{
"wallet_balance": wallet.balance or None,
"payment": payment._asdict(),
"payment": payment.dict(),
},
)
# dispatch webhook