format
This commit is contained in:
parent
97565fde02
commit
44d7435163
1 changed files with 5 additions and 5 deletions
|
|
@ -27,11 +27,11 @@ async def on_invoice_paid(payment: Payment) -> None:
|
||||||
tipAmount = payment.extra.get("tipAmount")
|
tipAmount = payment.extra.get("tipAmount")
|
||||||
|
|
||||||
strippedPayment = {
|
strippedPayment = {
|
||||||
"amount":payment.amount,
|
"amount": payment.amount,
|
||||||
"fee":payment.fee,
|
"fee": payment.fee,
|
||||||
"checking_id":payment.checking_id,
|
"checking_id": payment.checking_id,
|
||||||
"payment_hash":payment.payment_hash,
|
"payment_hash": payment.payment_hash,
|
||||||
"bolt11":payment.bolt11,
|
"bolt11": payment.bolt11,
|
||||||
}
|
}
|
||||||
|
|
||||||
await websocketUpdater(payment.extra.get("tposId"), str(strippedPayment))
|
await websocketUpdater(payment.extra.get("tposId"), str(strippedPayment))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue