Przeglądaj źródła

Update gridfs.js

Sizma yosimaz 5 lat temu
rodzic
commit
b76a011a7b
1 zmienionych plików z 1 dodań i 1 usunięć
  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;
     }