From 40908d5274899d725d1a9bbf1b860e7c8efa32bc Mon Sep 17 00:00:00 2001 From: Bhavesh Mandalapu Date: Sun, 26 Apr 2026 15:04:16 -0500 Subject: [PATCH] Fix verified claims query --- app/api/v1/endpoints/overview.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/v1/endpoints/overview.py b/app/api/v1/endpoints/overview.py index 5285a43..ed2e71c 100644 --- a/app/api/v1/endpoints/overview.py +++ b/app/api/v1/endpoints/overview.py @@ -108,13 +108,13 @@ def executive_overview(session: Session = Depends(get_session)): verified_claims = session.exec( select(func.count()) .select_from(Claim) - .where(col(Claim.fact_check_status).ilike("verified")) + .where(col(Claim.fact_check_status).ilike("verified%")) ).one() disputed_claims = session.exec( select(func.count()) .select_from(Claim) - .where(col(Claim.fact_check_status).ilike("disputed")) + .where(col(Claim.fact_check_status).ilike("disputed%")) ).one() checked_total = verified_claims + disputed_claims