chore: removed dead code

This commit is contained in:
Jef Roosens 2025-03-04 16:53:34 +01:00
parent 029eb95382
commit d8971f6c62
No known key found for this signature in database
GPG key ID: 21FD3D77D56BAF49
6 changed files with 4 additions and 251 deletions

View file

@ -33,8 +33,7 @@ impl ServeCommand {
let pool = db::initialize_db(cli.data_dir.join(crate::DB_FILENAME), true).unwrap();
let ctx = server::Context {
pool: pool.clone(),
repo: db::SqliteRepository::from(pool.clone()),
repo: db::SqliteRepository::from(pool),
};
let app = server::app(ctx);