zamis 5 years ago
parent
commit
53c9086ac6
2 changed files with 1 additions and 1 deletions
  1. 1 0
      src/server/service/attachment.js
  2. 0 1
      src/server/service/file-uploader/local.js

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

@@ -2,6 +2,7 @@ const logger = require('@alias/logger')('growi:service:AttachmentService'); // e
 
 
 const fs = require('fs');
 const fs = require('fs');
 
 
+
 /**
 /**
  * the service class for Attachment and file-uploader
  * the service class for Attachment and file-uploader
  */
  */

+ 0 - 1
src/server/service/file-uploader/local.js

@@ -32,7 +32,6 @@ module.exports = function(crowi) {
 
 
   lib.deleteFile = async function(attachment) {
   lib.deleteFile = async function(attachment) {
     const filePath = getFilePathOnStorage(attachment);
     const filePath = getFilePathOnStorage(attachment);
-
     return lib.deleteFileByFilePath(filePath);
     return lib.deleteFileByFilePath(filePath);
   };
   };