mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-06 18:02:38 +02:00
equal of higher than threshold
This commit is contained in:
@@ -41,15 +41,15 @@ async def on_invoice_paid(payment: Payment) -> None:
|
|||||||
HTTPStatus.NOT_FOUND,
|
HTTPStatus.NOT_FOUND,
|
||||||
)
|
)
|
||||||
if copilot.animation1threshold:
|
if copilot.animation1threshold:
|
||||||
if int(payment.amount/1000) > copilot.animation1threshold:
|
if int(payment.amount / 1000) >= copilot.animation1threshold:
|
||||||
data = copilot.animation1
|
data = copilot.animation1
|
||||||
webhook = copilot.animation1webhook
|
webhook = copilot.animation1webhook
|
||||||
if copilot.animation2threshold:
|
if copilot.animation2threshold:
|
||||||
if int(payment.amount/1000) > copilot.animation2threshold:
|
if int(payment.amount / 1000) >= copilot.animation2threshold:
|
||||||
data = copilot.animation2
|
data = copilot.animation2
|
||||||
webhook = copilot.animation1webhook
|
webhook = copilot.animation1webhook
|
||||||
if copilot.animation3threshold:
|
if copilot.animation3threshold:
|
||||||
if int(payment.amount/1000) > copilot.animation3threshold:
|
if int(payment.amount / 1000) >= copilot.animation3threshold:
|
||||||
data = copilot.animation3
|
data = copilot.animation3
|
||||||
webhook = copilot.animation1webhook
|
webhook = copilot.animation1webhook
|
||||||
if webhook:
|
if webhook:
|
||||||
|
Reference in New Issue
Block a user