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

This commit is contained in:
Dark-Alex-17 committed 2024-12-18 00:12:18 -07:00
1 parent 924f8d5eff
commit fcb87a6779
7 files changed
+22 -121

No files matched your search

@@ -75,7 +75,7 @@ impl<'a, 'b> CliCommandHandler<'a, 'b, SonarrManualSearchCommand>
println!("Searching for episode releases. This may take a minute...");
let resp = self
.network
.handle_network_event(SonarrEvent::GetEpisodeReleases(Some(episode_id)).into())
.handle_network_event(SonarrEvent::GetEpisodeReleases(episode_id).into())
.await?;
serde_json::to_string_pretty(&resp)?
}