mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-21 14:22:52 +02:00
fix: column is called hash, not payment_hash.
This commit is contained in:
parent
d62031b068
commit
ab6229806c
@ -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,),
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user