Skip to content

Commit

Permalink
fix(sitemap): Remove async call to sync function.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmussig committed May 1, 2024
1 parent 2aca9b7 commit f02a0c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/view/sitemap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f02a0c0

Please sign in to comment.