Explorar o código

remove unnecessary function

= %!s(int64=6) %!d(string=hai) anos
pai
achega
c2282f2748
Modificáronse 1 ficheiros con 0 adicións e 10 borrados
  1. 0 10
      src/server/service/export.js

+ 0 - 10
src/server/service/export.js

@@ -350,16 +350,6 @@ class ExportService {
     return zipFile;
   }
 
-  /**
-   * create markdown file from String
-   * @param {String} exportData String will write in file
-   * @param {String} fileName filename without extension
-   */
-  cretaeMarkdownFile(exportData, fileName) {
-    const filePath = path.join(this.baseDir, `${fileName}.md`);
-    fs.writeFile(filePath, exportData, (err) => {});
-  }
-
 }
 
 module.exports = ExportService;