fix wrong schema for apipayments usage inside extensions.

This commit is contained in:
fiatjaf
2021-07-02 17:34:33 -03:00
parent 2f309c9863
commit e2d43e786f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ async def on_invoice_paid(payment: Payment) -> None:
# and reduce it by the amount we're going to send to the producer
await core_db.execute(
"""
UPDATE splitpayments.apipayments
UPDATE apipayments
SET extra = ?, amount = ?
WHERE hash = ?
AND checking_id NOT LIKE 'internal_%'