Fixes game versions v2 display (#827)

* fixes game versions display

* reverses from version route
This commit is contained in:
Wyatt Verchere
2024-01-06 22:04:13 -08:00
committed by GitHub
parent 541022cdc3
commit 59c269c8d0
3 changed files with 10 additions and 11 deletions

View File

@@ -765,9 +765,6 @@ impl Project {
}
).try_collect().await?;
// TODO: Possible improvements to look into:
// - use multiple queries instead of CTES (for cleanliness?)
// - repeated joins to mods in separate CTEs- perhaps 1 CTE for mods and use later (in mods_gallery_json, mods_donations_json, etc.)
let db_projects: Vec<QueryProject> = sqlx::query!(
"
SELECT m.id id, m.name name, m.summary summary, m.downloads downloads, m.follows follows,