remove some file-centric language

feat/vaults
Tomáš Mládek 2021-12-21 23:16:10 +01:00
parent 2c221911e1
commit 2ccfce6058
No known key found for this signature in database
GPG Key ID: ED21612889E75EC5
2 changed files with 2 additions and 2 deletions

View File

@ -208,7 +208,7 @@ pub fn fetch_or_create_dir<C: Connection<Backend = Sqlite>>(
Ok(new_directory_address)
} else {
Err(anyhow!("Directory does not exist."))
Err(anyhow!("Node {:?} does not exist.", directory.0))
}
}
1 => Ok(valid_directories[0].clone()),

View File

@ -83,7 +83,7 @@ pub async fn get_raw(
Err(error::ErrorNotFound("NOT FOUND"))
}
} else {
Err(ErrorBadRequest("Address does not refer to a file."))
Err(ErrorBadRequest("Address does not refer to a rawable object."))
}
}