diff --git a/services/filestore/app/js/FileHandler.js b/services/filestore/app/js/FileHandler.js index 6f49e05d7b..056206b0fe 100644 --- a/services/filestore/app/js/FileHandler.js +++ b/services/filestore/app/js/FileHandler.js @@ -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) {