You've already forked AstralRinth
forked from didirus/AstralRinth
make compile
This commit is contained in:
@@ -522,7 +522,7 @@ impl Mod {
|
|||||||
mods.push(Self::get_full(mod_id, exec).await?)
|
mods.push(Self::get_full(mod_id, exec).await?)
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(versions)
|
Ok(mods)
|
||||||
/*// TODO: this could be optimized
|
/*// TODO: this could be optimized
|
||||||
futures::future::try_join_all(mod_ids.into_iter().map(|id| Self::get_full(id, exec))).await*/
|
futures::future::try_join_all(mod_ids.into_iter().map(|id| Self::get_full(id, exec))).await*/
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -575,8 +575,8 @@ impl Version {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Ok(versions)
|
Ok(versions)
|
||||||
/* futures::future::try_join_all(version_ids.into_iter().map(|id| Self::get_full(id, exec)))
|
/* futures::future::try_join_all(version_ids.into_iter().map(|id| Self::get_full(id, exec)))
|
||||||
.await*/
|
.await*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user