fix(sonarr): Pass the episode ID alongside all GetEpisodeHistory events when publishing to the networking channel

This commit is contained in:
Dark-Alex-17 committed 2024-12-18 00:05:22 -07:00
1 parent 5f94dbcabe
commit 64ecc38073
6 files changed
+32 -151

No files matched your search

+1 -1
View File
@@ -177,7 +177,7 @@ impl<'a, 'b> CliCommandHandler<'a, 'b, SonarrListCommand> for SonarrListCommandH
SonarrListCommand::EpisodeHistory { episode_id } => {
let resp = self
.network
.handle_network_event(SonarrEvent::GetEpisodeHistory(Some(episode_id)).into())
.handle_network_event(SonarrEvent::GetEpisodeHistory(episode_id).into())
.await?;
serde_json::to_string_pretty(&resp)?
}