fix(radarr): Pass the number of log events to fetch in with the GetLogs event when publishing to the networking channel

This commit is contained in:
2024-12-17 20:33:39 -07:00
parent 9a9b13d604
commit 1ad35652f8
6 changed files with 12 additions and 80 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ impl<'a, 'b> CliCommandHandler<'a, 'b, RadarrListCommand> for RadarrListCommandH
} => {
let logs = self
.network
.handle_network_event(RadarrEvent::GetLogs(Some(events)).into())
.handle_network_event(RadarrEvent::GetLogs(events).into())
.await?;
if output_in_log_format {
+1 -1
View File
@@ -189,7 +189,7 @@ mod tests {
mock_network
.expect_handle_network_event()
.with(eq::<NetworkEvent>(
RadarrEvent::GetLogs(Some(expected_events)).into(),
RadarrEvent::GetLogs(expected_events).into(),
))
.times(1)
.returning(|_| {