From ee93d2f27523c773ec46eb392b688899728d6a89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dni=20=E2=9A=A1?= Date: Thu, 17 Oct 2024 11:48:42 +0200 Subject: [PATCH] fixup! --- lnbits/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/commands.py b/lnbits/commands.py index 1fac791d1..a286fe37f 100644 --- a/lnbits/commands.py +++ b/lnbits/commands.py @@ -175,7 +175,7 @@ async def database_revert_payment(checking_id: str): async with core_db.connect() as conn: payment = await get_payment(checking_id=checking_id, conn=conn) payment.status = PaymentState.PENDING - await update_payment(payment, conn) + await update_payment(payment, conn=conn) click.echo(f"Payment '{checking_id}' marked as pending.")