mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 04:49:33 -07:00
!minor fix a small bug in the sonarr api
This commit is contained in:
parent
4c52516284
commit
96e7805eb9
1 changed files with 4 additions and 1 deletions
|
@ -45,7 +45,10 @@ namespace Ombi.Api.Sonarr
|
||||||
|
|
||||||
foreach (var s in results)
|
foreach (var s in results)
|
||||||
{
|
{
|
||||||
s.seasons.ToList().RemoveAt(0);
|
if (s.seasons.Length > 0)
|
||||||
|
{
|
||||||
|
s.seasons.ToList().RemoveAt(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return results;
|
return results;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue