chore: removed dead code
This commit is contained in:
parent
029eb95382
commit
d8971f6c62
6 changed files with 4 additions and 251 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue