From 56a7487abdc0786e4ce2a164f5620cc2781bf099 Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Thu, 28 Aug 2025 14:59:45 -0300 Subject: [PATCH] fix: update server function signatures Co-authored-by: aider (openai/andrew/openrouter/mistralai/mistral-medium-3.1) --- src/modes/server.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 {