HTTP Internface fixed 2

This commit is contained in:
Luis Fernando Molina committed 2021-06-08 03:26:43 +02:00
1 parent cbfe9e1209
commit aee40b84ea
1 file changed
-2
-2
View File
@@ -545,7 +545,6 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
case 'Node': {
extraFolder = schemaDocument.type.split(' ')[0]
newFilepath = filePath + '/' + extraFolder
console.log(newFilepath)
break
}
case 'Concept': {
@@ -555,7 +554,6 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
}
}
fileName = fileName + '.json'
continue
// if (schemaDocument.deleted === true) {
try {
fs.unlinkSync(oldFilePath + '/' + fileName)