mirror of
https://github.com/lnbits/lnbits.git
synced 2025-07-19 09:22:39 +02:00
fix: column is called hash, not payment_hash.
This commit is contained in:
@ -215,7 +215,7 @@ def delete_expired_invoices() -> None:
|
|||||||
db.execute(
|
db.execute(
|
||||||
"""
|
"""
|
||||||
DELETE FROM apipayments
|
DELETE FROM apipayments
|
||||||
WHERE pending = 1 AND payment_hash = ?
|
WHERE pending = 1 AND hash = ?
|
||||||
""",
|
""",
|
||||||
(invoice.payment_hash,),
|
(invoice.payment_hash,),
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user