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

This commit is contained in:
2024-12-18 01:22:28 -07:00
parent 18a8b81631
commit c16ecfb188
6 changed files with 55 additions and 64 deletions
+1 -1
View File
@@ -698,7 +698,7 @@ mod tests {
mock_network
.expect_handle_network_event()
.with(eq::<NetworkEvent>(
SonarrEvent::ToggleEpisodeMonitoring(Some(expected_episode_id)).into(),
SonarrEvent::ToggleEpisodeMonitoring(expected_episode_id).into(),
))
.times(1)
.returning(|_| {