QR codes, printing, success-action and other fixes.

This commit is contained in:
fiatjaf
2021-03-07 16:13:20 -03:00
parent cda0819f64
commit 63ae553565
9 changed files with 147 additions and 33 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ async def get_standalone_payment(checking_id_or_hash: str) -> Optional[Payment]:
"""
SELECT *
FROM apipayments
WHERE checking_id = ? OR payment_hash = ?
WHERE checking_id = ? OR hash = ?
LIMIT 1
""",
(checking_id_or_hash, checking_id_or_hash),