Browse Source

add await

zamis 5 years ago
parent
commit
b4d985ed5d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/server/service/attachment.js

+ 1 - 1
src/server/service/attachment.js

@@ -57,7 +57,7 @@ class AttachmentService {
     });
     });
     await unorderAttachmentsBulkOp.execute();
     await unorderAttachmentsBulkOp.execute();
 
 
-    fileUploadService.deleteFiles(attachments);
+    await fileUploadService.deleteFiles(attachments);
 
 
     return;
     return;
   }
   }