!minor fix a small bug in the sonarr api

pull/1529/head
tidusjar 7 years ago
parent 4c52516284
commit 96e7805eb9

@ -45,7 +45,10 @@ namespace Ombi.Api.Sonarr
foreach (var s in results)
{
s.seasons.ToList().RemoveAt(0);
if (s.seasons.Length > 0)
{
s.seasons.ToList().RemoveAt(0);
}
}
return results;
}

Loading…
Cancel
Save