fix(network): Made the overview field nullable in the Sonarr series model
This commit is contained in:
@@ -215,7 +215,7 @@ pub struct Series {
|
|||||||
pub ratings: Rating,
|
pub ratings: Rating,
|
||||||
pub ended: bool,
|
pub ended: bool,
|
||||||
pub status: SeriesStatus,
|
pub status: SeriesStatus,
|
||||||
pub overview: String,
|
pub overview: Option<String>,
|
||||||
pub network: Option<String>,
|
pub network: Option<String>,
|
||||||
pub season_folder: bool,
|
pub season_folder: bool,
|
||||||
pub certification: Option<String>,
|
pub certification: Option<String>,
|
||||||
|
|||||||
@@ -5176,7 +5176,7 @@ mod test {
|
|||||||
title: "Test".to_owned().into(),
|
title: "Test".to_owned().into(),
|
||||||
status: SeriesStatus::Continuing,
|
status: SeriesStatus::Continuing,
|
||||||
ended: false,
|
ended: false,
|
||||||
overview: "Blah blah blah".into(),
|
overview: Some("Blah blah blah".to_owned()),
|
||||||
network: Some("HBO".to_owned()),
|
network: Some("HBO".to_owned()),
|
||||||
seasons: Some(vec![season()]),
|
seasons: Some(vec![season()]),
|
||||||
year: 2022,
|
year: 2022,
|
||||||
|
|||||||
Reference in New Issue
Block a user