mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-10 12:32:34 +02:00
message bug
This commit is contained in:
@@ -70,8 +70,10 @@ async def on_invoice_paid(payment: Payment) -> None:
|
|||||||
await mark_webhook_sent(payment, -1)
|
await mark_webhook_sent(payment, -1)
|
||||||
if payment.extra.get("comment"):
|
if payment.extra.get("comment"):
|
||||||
await updater(data, payment.extra.get("comment"), copilot.id)
|
await updater(data, payment.extra.get("comment"), copilot.id)
|
||||||
|
else:
|
||||||
|
await updater(data, "none", copilot.id)
|
||||||
|
|
||||||
|
|
||||||
await updater(data, "none", copilot.id)
|
|
||||||
|
|
||||||
|
|
||||||
async def mark_webhook_sent(payment: Payment, status: int) -> None:
|
async def mark_webhook_sent(payment: Payment, status: int) -> None:
|
||||||
|
Reference in New Issue
Block a user