mirror of
https://github.com/sct/overseerr.git
synced 2025-10-03 08:58:14 +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(
|
newSeasons.filter(
|
||||||
(s) => s[server4k ? 'status4k' : 'status'] === MediaStatus.AVAILABLE
|
(s) => s[server4k ? 'status4k' : 'status'] === MediaStatus.AVAILABLE
|
||||||
).length >=
|
).length >=
|
||||||
filteredSeasons.length;
|
filteredSeasons.length && filteredSeasons.length > 0;
|
||||||
|
|
||||||
if (media) {
|
if (media) {
|
||||||
media.seasons = [...media.seasons, ...newSeasons];
|
media.seasons = [...media.seasons, ...newSeasons];
|
||||||
|
Reference in New Issue
Block a user