From 96aef4f02c5429684a0bf388258e0f651e1d0df8 Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Sun, 10 Aug 2025 23:02:15 -0300 Subject: [PATCH] fix: update args initialization in server state Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) --- src/modes/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modes/server.rs b/src/modes/server.rs index a7f7b28..4cfe7bc 100644 --- a/src/modes/server.rs +++ b/src/modes/server.rs @@ -116,7 +116,7 @@ async fn run_server( db: db_conn, data_dir: data_dir.clone(), password: config.password.clone(), - args: Arc::new((*_conn).clone()), // This won't work, need to pass the actual args + args: Arc::new(args.clone()), }; let app = Router::new()