make compile

This commit is contained in:
Geometrically
2021-01-23 11:37:25 -07:00
parent f14f4498fb
commit 5385431051
2 changed files with 3 additions and 3 deletions

View File

@@ -522,7 +522,7 @@ impl Mod {
mods.push(Self::get_full(mod_id, exec).await?)
}
Ok(versions)
Ok(mods)
/*// TODO: this could be optimized
futures::future::try_join_all(mod_ids.into_iter().map(|id| Self::get_full(id, exec))).await*/
}

View File

@@ -575,8 +575,8 @@ impl Version {
}
Ok(versions)
/* futures::future::try_join_all(version_ids.into_iter().map(|id| Self::get_full(id, exec)))
.await*/
/* futures::future::try_join_all(version_ids.into_iter().map(|id| Self::get_full(id, exec)))
.await*/
}
}