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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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(
f"""
SELECT * FROM apipayments
WHERE pending = 'false'
WHERE pending = false
AND extra LIKE ?
AND extra LIKE ?
ORDER BY time DESC LIMIT {limit}