mirror of
https://github.com/lnbits/lnbits.git
synced 2025-03-28 02:31:51 +01:00
Merge pull request #1672 from lnbits/paymentsocketjson
Output json to payment websocket
This commit is contained in:
commit
bd47527d34
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user