mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-28 23:42:30 +00:00
fix path in directory deletion
This commit is contained in:
parent
55c4e220fa
commit
af4c72150f
1 changed files with 2 additions and 2 deletions
|
@ -16,10 +16,10 @@ module.exports =
|
|||
PersistorManager.sendStream bucket, key, stream, callback
|
||||
|
||||
deleteFile: (bucket, key, callback)->
|
||||
convetedKey = KeyBuilder.getConvertedFolderKey(bucket, key)
|
||||
convetedKey = KeyBuilder.getConvertedFolderKey(key)
|
||||
async.parallel [
|
||||
(done)-> PersistorManager.deleteFile bucket, key, done
|
||||
(done)-> PersistorManager.deleteFile bucket, convetedKey, done
|
||||
(done)-> PersistorManager.deleteDirectory bucket, convetedKey, done
|
||||
], callback
|
||||
|
||||
getFile: (bucket, key, opts = {}, callback)->
|
||||
|
|
Loading…
Reference in a new issue