mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-03-05 15:15:59 +02:00
Fixed: Adding new series via API with seasons array missing
This commit is contained in:
parent
a2427bd9df
commit
93443f1db2
@ -149,7 +149,7 @@ namespace Sonarr.Api.V3.Series
|
|||||||
AirTime = resource.AirTime,
|
AirTime = resource.AirTime,
|
||||||
Images = resource.Images,
|
Images = resource.Images,
|
||||||
|
|
||||||
Seasons = resource.Seasons.ToModel(),
|
Seasons = resource.Seasons?.ToModel() ?? new List<Season>(),
|
||||||
Year = resource.Year,
|
Year = resource.Year,
|
||||||
|
|
||||||
Path = resource.Path,
|
Path = resource.Path,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user