fix(sonarr): Construct and pass edit series parameters alongside all EditSeries events when publishing to the networking channel

This commit is contained in:
Dark-Alex-17 committed 2024-12-17 23:37:18 -07:00
1 parent 38c0ad29dd
commit 22fe1a8f73
7 files changed
+320 -175

No files matched your search

+2 -1
View File
@@ -348,12 +348,13 @@ impl<'a, 'b> CliCommandHandler<'a, 'b, SonarrEditCommand> for SonarrEditCommandH
language_profile_id,
root_folder_path,
tags: tag,
tag_input_string: None,
clear_tags,
};
self
.network
.handle_network_event(SonarrEvent::EditSeries(Some(edit_series_params)).into())
.handle_network_event(SonarrEvent::EditSeries(edit_series_params).into())
.await?;
"Series Updated".to_owned()
}