refactor(blob): use object trait to create blob
This commit is contained in:
@@ -68,7 +68,7 @@ impl PushChange for New {
|
||||
let lastmodified = prop.lastmodified.unwrap().timestamp_millis();
|
||||
|
||||
// create new blob
|
||||
Blob::new(obj.path.clone()).create(&lastmodified.to_string(), false)?;
|
||||
Blob::from_path(obj.path.clone()).create(&lastmodified.to_string(), false)?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user