mirror of
https://github.com/Sonarr/Sonarr
synced 2025-03-15 08:29:27 +00:00
Fixed: Adding new series via API with seasons array missing
This commit is contained in:
parent
a2427bd9df
commit
93443f1db2
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ namespace Sonarr.Api.V3.Series
|
|||
AirTime = resource.AirTime,
|
||||
Images = resource.Images,
|
||||
|
||||
Seasons = resource.Seasons.ToModel(),
|
||||
Seasons = resource.Seasons?.ToModel() ?? new List<Season>(),
|
||||
Year = resource.Year,
|
||||
|
||||
Path = resource.Path,
|
||||
|
|
Loading…
Add table
Reference in a new issue