zamis 5 лет назад
Родитель
Сommit
2265679372
1 измененных файлов с 1 добавлено и 1 удалено
  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();