remove some file-centric language
parent
2c221911e1
commit
2ccfce6058
|
@ -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()),
|
||||
|
|
|
@ -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."))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue