generated from t/malachite
add: use bucket methods everywhere
This commit is contained in:
parent
4e4f26ea14
commit
6583c34243
5 changed files with 51 additions and 21 deletions
|
@ -210,7 +210,7 @@ impl DataManager {
|
|||
// if there's an issue in the database
|
||||
//
|
||||
// the actual file takes up much more space than the database entry.
|
||||
let upload = self.get_upload_by_id(id).await?;
|
||||
let upload = self.get_upload_by_id_bucket(id, bucket).await?;
|
||||
upload.remove(&self.0.0.directory)?;
|
||||
|
||||
// delete from database
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue