storage/file: Call FileID::new() to build FileID object
This commit is contained in:
parent
8ddfb090b4
commit
557187fbd7
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ impl<'a> File<'a> {
|
|||
|
||||
fn get_new_file_id() -> FileID {
|
||||
use uuid::Uuid;
|
||||
Uuid::new_v4().to_hyphenated_string()
|
||||
FileID::new(FileIDType::UUID, Uuid::new_v4().to_hyphenated_string())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue