fix "boolean" query for sqlite (#1727)

use false
This commit is contained in:
Tiago Vasconcelos
2023-05-24 11:14:21 +01:00
committed by GitHub
parent c960f718f5
commit eab19280d5

View File

@@ -336,7 +336,7 @@ async def get_latest_payments_by_extension(ext_name: str, ext_id: str, limit: in
rows = await db.fetchall( rows = await db.fetchall(
f""" f"""
SELECT * FROM apipayments SELECT * FROM apipayments
WHERE pending = 'false' WHERE pending = false
AND extra LIKE ? AND extra LIKE ?
AND extra LIKE ? AND extra LIKE ?
ORDER BY time DESC LIMIT {limit} ORDER BY time DESC LIMIT {limit}