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

This commit is contained in:
2024-12-18 01:40:47 -07:00
parent 33249f509f
commit 7e36ad4e8a
7 changed files with 15 additions and 41 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ impl<'a, 'b> CliCommandHandler<'a, 'b, SonarrRefreshCommand>
SonarrRefreshCommand::Series { series_id } => {
let resp = self
.network
.handle_network_event(SonarrEvent::UpdateAndScanSeries(Some(series_id)).into())
.handle_network_event(SonarrEvent::UpdateAndScanSeries(series_id).into())
.await?;
serde_json::to_string_pretty(&resp)?
}