fix: update server function signatures
Co-authored-by: aider (openai/andrew/openrouter/mistralai/mistral-medium-3.1) <aider@aider.chat>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user