From cd17b59a3a48c68790c3cc1491354a4f5f33f7e0 Mon Sep 17 00:00:00 2001 From: Arc <33088785+arcbtc@users.noreply.github.com> Date: Thu, 15 Jun 2023 14:44:44 +0100 Subject: [PATCH] Change asdict to dict (#1757) --- lnbits/core/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/core/tasks.py b/lnbits/core/tasks.py index 722eefbba..7ff407d92 100644 --- a/lnbits/core/tasks.py +++ b/lnbits/core/tasks.py @@ -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