chore: remove unused anyhow error import and server password fields
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
@@ -2,7 +2,6 @@ use std::path::PathBuf;
|
|||||||
use std::str::FromStr;
|
use std::str::FromStr;
|
||||||
|
|
||||||
use clap::*;
|
use clap::*;
|
||||||
use anyhow::Error;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Main struct for command-line arguments.
|
* Main struct for command-line arguments.
|
||||||
|
|||||||
@@ -80,8 +80,6 @@ async fn run_server(
|
|||||||
let state = AppState {
|
let state = AppState {
|
||||||
db: db_conn,
|
db: db_conn,
|
||||||
data_dir: data_dir.clone(),
|
data_dir: data_dir.clone(),
|
||||||
password: config.password.clone(),
|
|
||||||
password_hash: config.password_hash.clone(),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Create MCP router
|
// Create MCP router
|
||||||
|
|||||||
Reference in New Issue
Block a user