diff --git a/src/modes/server.rs b/src/modes/server.rs index 93aee54..449ca4c 100644 --- a/src/modes/server.rs +++ b/src/modes/server.rs @@ -23,7 +23,7 @@ mod mcp; pub use common::{AppState, logging_middleware, create_auth_middleware}; pub fn mode_server( - _cmd: &mut Command, + cmd: &mut Command, settings: &config::Settings, conn: &mut rusqlite::Connection, data_path: PathBuf, @@ -69,6 +69,7 @@ async fn run_server( conn: rusqlite::Connection, data_dir: PathBuf, item_service: ItemService, + cmd: Command, ) -> Result<()> { // Construct address with port let bind_address = if let Some(port) = config.port {