You've already forked AstralRinth
forked from didirus/AstralRinth
Updating + Profile Repairs + Performance Improvements (#97)
* repairing * Main framework for updating * add jsconfig * more work * Improve performance * Finish updating * run lint
This commit is contained in:
@@ -5,7 +5,7 @@ pub use daedalus::modded::Manifest;
|
||||
#[tracing::instrument]
|
||||
pub async fn get_minecraft_versions() -> crate::Result<VersionManifest> {
|
||||
let state = State::get().await?;
|
||||
let tags = state.metadata.minecraft.clone();
|
||||
let tags = state.metadata.read().await.minecraft.clone();
|
||||
|
||||
Ok(tags)
|
||||
}
|
||||
@@ -13,7 +13,7 @@ pub async fn get_minecraft_versions() -> crate::Result<VersionManifest> {
|
||||
#[tracing::instrument]
|
||||
pub async fn get_fabric_versions() -> crate::Result<Manifest> {
|
||||
let state = State::get().await?;
|
||||
let tags = state.metadata.fabric.clone();
|
||||
let tags = state.metadata.read().await.fabric.clone();
|
||||
|
||||
Ok(tags)
|
||||
}
|
||||
@@ -21,7 +21,7 @@ pub async fn get_fabric_versions() -> crate::Result<Manifest> {
|
||||
#[tracing::instrument]
|
||||
pub async fn get_forge_versions() -> crate::Result<Manifest> {
|
||||
let state = State::get().await?;
|
||||
let tags = state.metadata.forge.clone();
|
||||
let tags = state.metadata.read().await.forge.clone();
|
||||
|
||||
Ok(tags)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user