From 529d52534c300aec4a6e3e9e08f9762a401f7086 Mon Sep 17 00:00:00 2001 From: fxqnlr Date: Thu, 25 May 2023 11:16:16 +0200 Subject: added more progress --- src/apis/modrinth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/apis') diff --git a/src/apis/modrinth.rs b/src/apis/modrinth.rs index 525cc0d..14ff266 100644 --- a/src/apis/modrinth.rs +++ b/src/apis/modrinth.rs @@ -170,7 +170,7 @@ pub async fn projects(api: &str, ids: Vec) -> Vec { pub async fn versions(api: &str, id: String, list: List) -> Vec { let url = format!( r#"project/{}/version?loaders=["{}"]&game_versions=["{}"]"#, - id, list.modloader.to_string(), list.mc_version + id, list.modloader, list.mc_version ); let data = get(api, &url).await.unwrap(); -- cgit v1.2.3