diff --git a/server/api/servarr/base.ts b/server/api/servarr/base.ts index 0f2a104047..4c0987c618 100644 --- a/server/api/servarr/base.ts +++ b/server/api/servarr/base.ts @@ -77,7 +77,7 @@ interface QueueItem { protocol: string; downloadClient: string; indexer: string; - episode: EpisodeResult; + episode?: EpisodeResult; id: number; } diff --git a/server/lib/downloadtracker.ts b/server/lib/downloadtracker.ts index 0b0b60e9b9..25c65adf94 100644 --- a/server/lib/downloadtracker.ts +++ b/server/lib/downloadtracker.ts @@ -170,12 +170,7 @@ class DownloadTracker { status: item.status, timeLeft: item.timeleft, title: item.title, - episode: { - seasonNumber: item.episode.seasonNumber, - episodeNumber: item.episode.episodeNumber, - absoluteEpisodeNumber: item.episode.absoluteEpisodeNumber, - id: item.episode.id, - }, + episode: item.episode, })); if (queueItems.length > 0) {