Sizma yosimaz 5 лет назад
Родитель
Сommit
b76a011a7b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/server/service/file-uploader/gridfs.js

+ 1 - 1
src/server/service/file-uploader/gridfs.js

@@ -28,8 +28,8 @@ module.exports = function(crowi) {
 
   lib.deleteFile = async function(attachment) {
     let filenameValue = attachment.fileName;
+    
     if (attachment.filePath != null) { // backward compatibility for v3.3.x or below
-      
       filenameValue = attachment.filePath;
     }