fix: fix unused imports and db initialization error
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
@@ -130,7 +130,7 @@ fn setup_item_metadata(
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn collect_item_meta(settings: &config::Settings) -> std::collections::HashMap<String, String> {
|
||||
fn collect_item_meta(_settings: &config::Settings) -> std::collections::HashMap<String, String> {
|
||||
let mut item_meta: std::collections::HashMap<String, String> = crate::modes::common::get_meta_from_env();
|
||||
|
||||
if let Ok(hostname) = gethostname::gethostname().into_string() {
|
||||
|
||||
@@ -17,7 +17,7 @@ pub mod common;
|
||||
mod api;
|
||||
mod pages;
|
||||
|
||||
pub use common::{ServerConfig, AppState, logging_middleware, create_auth_middleware};
|
||||
pub use common::{AppState, logging_middleware, create_auth_middleware};
|
||||
|
||||
pub fn mode_server(
|
||||
_cmd: &mut Command,
|
||||
|
||||
Reference in New Issue
Block a user