summaryrefslogtreecommitdiff
path: root/src/apis/modrinth.rs
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2023-05-25 11:16:16 +0200
committerfxqnlr <[email protected]>2023-05-25 11:16:16 +0200
commit529d52534c300aec4a6e3e9e08f9762a401f7086 (patch)
tree463d3538dd295bbf6416ca3f141a1395d6cd1b76 /src/apis/modrinth.rs
parent016e1d8d760113a64afcc5d516f08010cb566d68 (diff)
downloadmodlist-529d52534c300aec4a6e3e9e08f9762a401f7086.tar
modlist-529d52534c300aec4a6e3e9e08f9762a401f7086.tar.gz
modlist-529d52534c300aec4a6e3e9e08f9762a401f7086.zip
added more progress
Diffstat (limited to 'src/apis/modrinth.rs')
-rw-r--r--src/apis/modrinth.rs2
1 files changed, 1 insertions, 1 deletions
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<String>) -> Vec<Project> {
170pub async fn versions(api: &str, id: String, list: List) -> Vec<Version> { 170pub async fn versions(api: &str, id: String, list: List) -> Vec<Version> {
171 let url = format!( 171 let url = format!(
172 r#"project/{}/version?loaders=["{}"]&game_versions=["{}"]"#, 172 r#"project/{}/version?loaders=["{}"]&game_versions=["{}"]"#,
173 id, list.modloader.to_string(), list.mc_version 173 id, list.modloader, list.mc_version
174 ); 174 );
175 175
176 let data = get(api, &url).await.unwrap(); 176 let data = get(api, &url).await.unwrap();