add prusnak suggestion
This commit is contained in:
parent
908369efff
commit
4a2b8ab1af
|
@ -20,7 +20,9 @@ async def wait_for_paid_invoices():
|
||||||
|
|
||||||
|
|
||||||
async def on_invoice_paid(payment: Payment) -> None:
|
async def on_invoice_paid(payment: Payment) -> None:
|
||||||
if not payment.extra or payment.extra.get("tag") != "tpos":
|
if not payment.extra:
|
||||||
|
return
|
||||||
|
if payment.extra.get("tag") != "tpos":
|
||||||
return
|
return
|
||||||
|
|
||||||
tipAmount = payment.extra.get("tipAmount")
|
tipAmount = payment.extra.get("tipAmount")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user