diff --git a/src/models/repos.rs b/src/models/repos.rs index f18f6ef8..99906a71 100644 --- a/src/models/repos.rs +++ b/src/models/repos.rs @@ -79,7 +79,8 @@ pub struct Verification { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[non_exhaustive] pub struct DiffEntry { - pub sha: String, + // unlike the schema online, this can be null if only metadata changed + pub sha: Option, pub filename: String, pub status: DiffEntryStatus, pub additions: u64,