fix(sonarr): Pass the indexer ID directly alongside all TestIndexer events when publishing to the networking channel

This commit is contained in:
2024-12-18 01:01:01 -07:00
parent 42479ced21
commit 1d404d4d2c
8 changed files with 43 additions and 90 deletions
+4 -2
View File
@@ -77,7 +77,9 @@ impl<'a> App<'a> {
}
ActiveRadarrBlock::TestIndexer => {
self
.dispatch_network_event(RadarrEvent::TestIndexer(self.extract_indexer_id().await).into())
.dispatch_network_event(
RadarrEvent::TestIndexer(self.extract_radarr_indexer_id().await).into(),
)
.await;
}
ActiveRadarrBlock::TestAllIndexers => {
@@ -243,7 +245,7 @@ impl<'a> App<'a> {
.clone()
}
async fn extract_indexer_id(&self) -> i64 {
async fn extract_radarr_indexer_id(&self) -> i64 {
self
.data
.radarr_data