WIP: dump

This commit is contained in:
tamo
2021-04-29 14:45:08 +02:00
parent 0275b36fb0
commit 0f94ef8abc
10 changed files with 64 additions and 40 deletions

View File

@ -55,10 +55,10 @@ impl ApiKeys {
}
impl Data {
pub async fn new(options: Opt) -> anyhow::Result<Data> {
pub fn new(options: Opt) -> anyhow::Result<Data> {
let path = options.db_path.clone();
let index_controller = IndexController::new(&path, &options).await?;
let index_controller = IndexController::new(&path, &options)?;
let mut api_keys = ApiKeys {
master: options.clone().master_key,