Fix results not showing

This commit is contained in:
Esa Kataja
2025-05-18 00:57:15 +03:00
parent 189c6ae1c7
commit bd3d592bdf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -258,7 +258,7 @@ INSERT INTO CountryCodes (code, name_en, name_fi, name_sv) VALUES ('GBR', 'Unite
-- TODO: Clean this next year. Its now here just to get the show running
-- INSERT INTO Contest (year, finals_date) VALUES (2025, '2025-05-16');
INSERT INTO Contest (year, finals_date) VALUES (2025, '2025-05-16');
-- =============================================================================
-- DEBUG DATA
+1 -1
View File
@@ -103,7 +103,7 @@ async def list_results(result_type: ResultType):
)
@router.get("/global", response_model=list[Result])
@router.get("/", response_model=list[Result])
async def list_global_results():
with get_connection() as conn:
df = conn.execute("SELECT * FROM ReviewSummaryGlobal").fetchdf()