output json

This commit is contained in:
ben
2023-05-02 18:40:46 +01:00
parent bc2c5fd1a9
commit 171aa08e0c

View File

@@ -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: