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 use common::{AppState, logging_middleware, create_auth_middleware};
|
||||||
|
|
||||||
pub fn mode_server(
|
pub fn mode_server(
|
||||||
_cmd: &mut Command,
|
cmd: &mut Command,
|
||||||
settings: &config::Settings,
|
settings: &config::Settings,
|
||||||
conn: &mut rusqlite::Connection,
|
conn: &mut rusqlite::Connection,
|
||||||
data_path: PathBuf,
|
data_path: PathBuf,
|
||||||
@@ -69,6 +69,7 @@ async fn run_server(
|
|||||||
conn: rusqlite::Connection,
|
conn: rusqlite::Connection,
|
||||||
data_dir: PathBuf,
|
data_dir: PathBuf,
|
||||||
item_service: ItemService,
|
item_service: ItemService,
|
||||||
|
cmd: Command,
|
||||||
) -> Result<()> {
|
) -> Result<()> {
|
||||||
// Construct address with port
|
// Construct address with port
|
||||||
let bind_address = if let Some(port) = config.port {
|
let bind_address = if let Some(port) = config.port {
|
||||||
|
|||||||
Reference in New Issue
Block a user