Fix download count logic (#347)

This commit is contained in:
Geometrically
2022-05-14 18:55:02 -04:00
committed by GitHub
parent 3533d2a2cc
commit b9b4f2bb7f
3 changed files with 45 additions and 8 deletions

View File

@@ -27,6 +27,7 @@ pub struct PackFormat<'a> {
}
#[derive(Serialize, Deserialize, Validate)]
#[serde(rename_all = "camelCase")]
pub struct PackFile<'a> {
pub path: &'a str,
pub hashes: std::collections::HashMap<FileHash, &'a str>,