Merged in hotfix/2022-03-09 (pull request #416)

Remove autohouse log file creation.
This commit is contained in:
Patrick Fic
2022-03-09 16:42:11 +00:00

View File

@@ -124,12 +124,12 @@ exports.default = async (req, res) => {
}
}
for (const xmlObj of allxmlsToUpload) {
fs.writeFileSync(`./logs/${xmlObj.filename}`, xmlObj.xml);
}
// for (const xmlObj of allxmlsToUpload) {
// fs.writeFileSync(`./logs/${xmlObj.filename}`, xmlObj.xml);
// }
res.json(allxmlsToUpload);
return;
// res.json(allxmlsToUpload);
// return;
let sftp = new Client();
sftp.on("error", (errors) =>