From 1bc5493f3fc8e59ea638cb31bfd4aa80334ff358 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Wed, 9 Mar 2022 08:41:36 -0800 Subject: [PATCH] Remove autohouse log file creation. --- server/data/autohouse.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/server/data/autohouse.js b/server/data/autohouse.js index 1dc159cb1..217f68c60 100644 --- a/server/data/autohouse.js +++ b/server/data/autohouse.js @@ -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) =>