From 55071299699b455ae0b9573afd67f4359e8d2dee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dni=20=E2=9A=A1?= Date: Tue, 3 Sep 2024 16:47:32 +0200 Subject: [PATCH] chore: make checking payment more obvious --- views_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views_api.py b/views_api.py index 7102960..78c80d8 100644 --- a/views_api.py +++ b/views_api.py @@ -234,7 +234,7 @@ async def api_tpos_check_invoice(tpos_id: str, payment_hash: str): raise HTTPException( status_code=HTTPStatus.NOT_FOUND, detail="TPoS does not exist." ) - payment = await get_standalone_payment(payment_hash) + payment = await get_standalone_payment(payment_hash, incoming=True) if not payment: raise HTTPException( status_code=HTTPStatus.NOT_FOUND, detail="Payment does not exist."