Explorar el Código

Update gridfs.js

Sizma yosimaz hace 5 años
padre
commit
b76a011a7b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
     }