mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-26 00:31:01 +02:00
format
This commit is contained in:
parent
97565fde02
commit
44d7435163
@ -27,11 +27,11 @@ async def on_invoice_paid(payment: Payment) -> None:
|
||||
tipAmount = payment.extra.get("tipAmount")
|
||||
|
||||
strippedPayment = {
|
||||
"amount":payment.amount,
|
||||
"fee":payment.fee,
|
||||
"checking_id":payment.checking_id,
|
||||
"payment_hash":payment.payment_hash,
|
||||
"bolt11":payment.bolt11,
|
||||
"amount": payment.amount,
|
||||
"fee": payment.fee,
|
||||
"checking_id": payment.checking_id,
|
||||
"payment_hash": payment.payment_hash,
|
||||
"bolt11": payment.bolt11,
|
||||
}
|
||||
|
||||
await websocketUpdater(payment.extra.get("tposId"), str(strippedPayment))
|
||||
|
Loading…
x
Reference in New Issue
Block a user