fixed quotations around modpack names

This commit is contained in:
Samuel Walker 2024-06-22 19:29:20 -06:00
parent c2b98b3e84
commit ae5d60340d

View File

@ -22,7 +22,7 @@ fn get_modpacks() -> Vec<String> {
println!("{}", v[0]["name"]);
let mut packs: Vec<String> = Vec::new();
for pack in v.as_array().unwrap() {
packs.push(pack["name"].to_string());
packs.push(pack["name"].as_str().unwrap().to_string());
}
return packs;
}