mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-17 21:26:13 -04:00
Fixed: Adding new series via API with seasons array missing
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user