zamis 5 anni fa
parent
commit
2265679372
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/server/service/attachment.js

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

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