Update app/js/FileHandler.js

Co-Authored-By: Jakob Ackermann <das7pad@outlook.com>
This commit is contained in:
Simon Detheridge 2020-03-31 16:03:38 +01:00 committed by GitHub
parent 4489670497
commit dceef85ccb

View file

@ -51,7 +51,7 @@ async function deleteFile(bucket, key) {
if (Settings.enableConversions) {
jobs.push(PersistorManager.promises.deleteDirectory(bucket, convertedKey))
}
await Promise.all([jobs])
await Promise.all(jobs)
}
async function deleteProject(bucket, key) {