fix(sonarr): Pass the search query directly to the networking channel when searching for a new series

This commit is contained in:
2024-12-18 00:49:36 -07:00
parent ec8d748991
commit 1193b8c848
6 changed files with 70 additions and 160 deletions
+1 -1
View File
@@ -245,7 +245,7 @@ impl<'a, 'b> CliCommandHandler<'a, 'b, SonarrCommand> for SonarrCliHandler<'a, '
SonarrCommand::SearchNewSeries { query } => {
let resp = self
.network
.handle_network_event(SonarrEvent::SearchNewSeries(Some(query)).into())
.handle_network_event(SonarrEvent::SearchNewSeries(query).into())
.await?;
serde_json::to_string_pretty(&resp)?
}