fix(sonarr): Pass the root folder ID alongside all DeleteRootFolder events when publishing to the networking channel

This commit is contained in:
2024-12-17 22:42:37 -07:00
parent db64a0968b
commit fedb78fb88
6 changed files with 47 additions and 59 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ impl<'a, 'b> CliCommandHandler<'a, 'b, SonarrDeleteCommand> for SonarrDeleteComm
SonarrDeleteCommand::RootFolder { root_folder_id } => {
let resp = self
.network
.handle_network_event(SonarrEvent::DeleteRootFolder(Some(root_folder_id)).into())
.handle_network_event(SonarrEvent::DeleteRootFolder(root_folder_id).into())
.await?;
serde_json::to_string_pretty(&resp)?
}