diff --git a/src/drivers/rest/mod.rs b/src/drivers/rest/mod.rs index 1da1c5da..5820c84d 100644 --- a/src/drivers/rest/mod.rs +++ b/src/drivers/rest/mod.rs @@ -180,7 +180,7 @@ impl Driver for Rest { error!("Error in rest sender task: {e:?}"); } } - result = Rest::receive_task(hub_sender, &self.on_message_input, &mut ws_receiver) => { + result = Rest::receive_task(hub_sender, &self.on_message_input, &mut ws_receiver, &self.stats) => { if let Err(e) = result { error!("Error in rest receive task: {e:?}"); }