@@ -2,6 +2,7 @@ const logger = require('@alias/logger')('growi:service:AttachmentService'); // e
const fs = require('fs');
+
/**
* the service class for Attachment and file-uploader
*/
@@ -32,7 +32,6 @@ module.exports = function(crowi) {
lib.deleteFile = async function(attachment) {
const filePath = getFilePathOnStorage(attachment);
-
return lib.deleteFileByFilePath(filePath);
};