diff --git a/lnbits/core/tasks.py b/lnbits/core/tasks.py index b05909a2..fa2df964 100644 --- a/lnbits/core/tasks.py +++ b/lnbits/core/tasks.py @@ -66,7 +66,7 @@ async def dispatch_webhook(payment: Payment): async def mark_webhook_sent(payment: Payment, status: int) -> None: await db.execute( """ - UPDATE core.apipayments SET webhook_status = ? + UPDATE apipayments SET webhook_status = ? WHERE hash = ? """, (status, payment.payment_hash),