mirror of
https://github.com/lnbits/lnbits.git
synced 2025-04-10 21:09:34 +02:00
followup to fca7e7bec3a40de8a5f7f65ac6030513c02e8db7
one extraneous check was forgotten
This commit is contained in:
parent
3ecdad42a5
commit
e4c01285b2
@ -35,8 +35,6 @@ async def on_invoice_paid(payment: Payment) -> None:
|
||||
|
||||
|
||||
async def mark_webhook_sent(payment: Payment, status: int) -> None:
|
||||
if not payment.extra:
|
||||
return
|
||||
|
||||
payment.extra["wh_status"] = status
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user