mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-06 05:01:21 +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(
|
||||
"""
|
||||
DELETE FROM apipayments
|
||||
WHERE pending = 1 AND payment_hash = ?
|
||||
WHERE pending = 1 AND hash = ?
|
||||
""",
|
||||
(invoice.payment_hash,),
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user