From f02a0c08935ebc72bab6cab4950a06380be390c9 Mon Sep 17 00:00:00 2001 From: Aaron Mussig Date: Thu, 2 May 2024 09:12:59 +1000 Subject: [PATCH] fix(sitemap): Remove async call to sync function. --- api/view/sitemap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/view/sitemap.py b/api/view/sitemap.py index 4c0aa72..a03d59e 100644 --- a/api/view/sitemap.py +++ b/api/view/sitemap.py @@ -26,7 +26,7 @@ async def gtdb(db: Session = Depends(get_gtdb_db), db_web: Session = Depends(get # Load the genome pages for the sitemap all_species = v_species_all(db) - all_genomes = await v_genomes_all(db) + all_genomes = v_genomes_all(db) all_taxa = v_get_all_taxa(db_web) # Generate the species pages