summaryrefslogtreecommitdiff
path: root/src/commands/modification.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/modification.rs')
-rw-r--r--src/commands/modification.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/commands/modification.rs b/src/commands/modification.rs
index ab42468..9a1a651 100644
--- a/src/commands/modification.rs
+++ b/src/commands/modification.rs
@@ -35,7 +35,6 @@ pub struct ProjectInfo {
35 pub set_version: bool, 35 pub set_version: bool,
36} 36}
37 37
38//TODO fix setversion to per mod
39pub async fn mod_add( 38pub async fn mod_add(
40 config: Cfg, 39 config: Cfg,
41 mods: Vec<AddMod>, 40 mods: Vec<AddMod>,
@@ -264,7 +263,7 @@ async fn get_ver_info(config: Cfg, ver_ids: Vec<(String, bool)>) -> MLE<Vec<Proj
264 current_version: Some(version.clone()), 263 current_version: Some(version.clone()),
265 applicable_versions: vec![String::from(&version.id)], 264 applicable_versions: vec![String::from(&version.id)],
266 download_link: file, 265 download_link: file,
267 set_version: setmap.get(&project.id).unwrap().clone(), 266 set_version: setmap.get(&version.id).unwrap().clone(),
268 }) 267 })
269 } 268 }
270 Ok(projectinfo) 269 Ok(projectinfo)