fix: Marked the Season.statistics field as Option so that a panic does not happen for outdated Sonarr data. This resolves #35

This commit is contained in:
2025-03-10 16:13:04 -06:00
parent 6d38bc5e1d
commit cab06fe43f
6 changed files with 50 additions and 24 deletions
+1 -1
View File
@@ -5700,7 +5700,7 @@ mod test {
title: None,
season_number: 1,
monitored: true,
statistics: season_statistics(),
statistics: Some(season_statistics()),
}
}