zamis 5 lat temu
rodzic
commit
2265679372
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/server/service/attachment.js

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

@@ -43,7 +43,7 @@ class AttachmentService {
     return attachment;
     return attachment;
   }
   }
 
 
-  async removeAllAttachment(attachments) {
+  async removeAllAttachments(attachments) {
     const { fileUploadService } = this.crowi;
     const { fileUploadService } = this.crowi;
     const attachmentsCollection = mongoose.connection.collection('attachments');
     const attachmentsCollection = mongoose.connection.collection('attachments');
     const unorderAttachmentsBulkOp = attachmentsCollection.initializeUnorderedBulkOp();
     const unorderAttachmentsBulkOp = attachmentsCollection.initializeUnorderedBulkOp();