From 5ad53267d2a8533b1a28469b68b59c54a809a445 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 11 Oct 2021 20:08:38 +0200 Subject: [PATCH] Update httpInterface.js --- Platform/Client/httpInterface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {