From 171aa08e0c3a09067e8bd66bc35e4b9730f0f968 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 2 May 2023 18:40:46 +0100 Subject: [PATCH] output json --- 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 72b01f41e..1b6ddf26d 100644 --- a/lnbits/core/tasks.py +++ b/lnbits/core/tasks.py @@ -38,7 +38,7 @@ async def wait_for_paid_invoices(invoice_paid_queue: asyncio.Queue): logger.trace("received invoice paid event") # send information to sse channel await dispatch_api_invoice_listeners(payment) - await websocketUpdater(payment.wallet_id, payment) + await websocketUpdater(payment.wallet_id, payment.dict()) # dispatch webhook if payment.webhook and not payment.webhook_status: