mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-07 07:07:54 -05: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