mirror of
https://github.com/sct/overseerr.git
synced 2025-10-02 00:33:09 +02:00
fix(sonarr-sync): correctly set series with no seasons to requested status
fixes #762
This commit is contained in:
@@ -180,7 +180,7 @@ class JobSonarrSync {
|
||||
newSeasons.filter(
|
||||
(s) => s[server4k ? 'status4k' : 'status'] === MediaStatus.AVAILABLE
|
||||
).length >=
|
||||
filteredSeasons.length;
|
||||
filteredSeasons.length && filteredSeasons.length > 0;
|
||||
|
||||
if (media) {
|
||||
media.seasons = [...media.seasons, ...newSeasons];
|
||||
|
Reference in New Issue
Block a user