!minor fix a small bug in the sonarr api

This commit is contained in:
tidusjar 2017-10-01 21:14:26 +01:00
commit 96e7805eb9

View file

@ -44,9 +44,12 @@ namespace Ombi.Api.Sonarr
var results = await Api.Request<List<SonarrSeries>>(request);
foreach (var s in results)
{
if (s.seasons.Length > 0)
{
s.seasons.ToList().RemoveAt(0);
}
}
return results;
}