1
0

Fix modpacks, compile to zip

This commit is contained in:
Danielle Hutzley
2021-12-14 17:23:33 -08:00
parent 3b85095f28
commit 5dabfb4ea0
6 changed files with 36 additions and 19 deletions

View File

@@ -60,7 +60,7 @@ struct ModrinthV1ProjectVersionFile<'a> {
impl From<ModrinthV1ProjectVersionFile<'_>> for ModpackFile {
fn from(file: ModrinthV1ProjectVersionFile<'_>) -> Self {
Self {
hashes: ModpackFileHashes::from(file.hashes),
hashes: Some(ModpackFileHashes::from(file.hashes)),
downloads: {
let mut downloads: HashSet<String> = HashSet::new();
downloads.insert(String::from(file.url));