fix(sonarr): Construct and pass delete series params alongside all DeleteSeries events when publishing to the networking channel

This commit is contained in:
2024-12-17 22:56:14 -07:00
parent acf983c07c
commit 3e36bcf307
7 changed files with 97 additions and 91 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ impl<'a, 'b> CliCommandHandler<'a, 'b, SonarrDeleteCommand> for SonarrDeleteComm
};
let resp = self
.network
.handle_network_event(SonarrEvent::DeleteSeries(Some(delete_series_params)).into())
.handle_network_event(SonarrEvent::DeleteSeries(delete_series_params).into())
.await?;
serde_json::to_string_pretty(&resp)?
}