diff --git a/Platform/Client/httpInterface.js b/Platform/Client/httpInterface.js index f424472ee..be1e75bae 100644 --- a/Platform/Client/httpInterface.js +++ b/Platform/Client/httpInterface.js @@ -1112,7 +1112,7 @@ exports.newHttpInterface = function newHttpInterface() { let filePath = allAppSchemasFilePaths[i] console.log('Saving File at ' + filePath) console.log(fileContent) - fs.readFileSync(filePath, fileContent) + fs.writeFileSync(filePath, fileContent) } } } catch (err) {