fixed quotations around modpack names
This commit is contained in:
parent
c2b98b3e84
commit
ae5d60340d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user