refactor(blob): use object trait to create blob

This commit is contained in:
grimhilt
2024-02-24 18:52:00 +01:00
parent 642c358737
commit faf7341525
17 changed files with 666 additions and 396 deletions

View File

@@ -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(())
}