Remove hardcoded emails

This commit is contained in:
Benjamin Toby
2024-11-05 20:37:04 +01:00
parent 7373c1d74e
commit 0a32750faa
241 changed files with 310 additions and 355 deletions
@@ -34,14 +34,6 @@ const fs = __webpack_require__(7147);
const initialText = fs.readFileSync(`./.tmp/error.log`, "utf-8");
fs.writeFileSync(`./.tmp/error.log`, log);
fs.appendFileSync(`./.tmp/error.log`, `\n\n\n\n\n${initialText}`);
// if (process.env.NODE_ENV?.match(/production/) && !noMail) {
// handleNodemailer({
// to: "benoti.san@gmail.com",
// subject: "SERVER Error in Datasquirel Application",
// text: "An Error occured in Datasquirel Application Server Side",
// html: log,
// });
// }
}; ////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
@@ -34,14 +34,6 @@ const fs = __webpack_require__(7147);
const initialText = fs.readFileSync(`./.tmp/error.log`, "utf-8");
fs.writeFileSync(`./.tmp/error.log`, log);
fs.appendFileSync(`./.tmp/error.log`, `\n\n\n\n\n${initialText}`);
// if (process.env.NODE_ENV?.match(/production/) && !noMail) {
// handleNodemailer({
// to: "benoti.san@gmail.com",
// subject: "SERVER Error in Datasquirel Application",
// text: "An Error occured in Datasquirel Application Server Side",
// html: log,
// });
// }
}; ////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
@@ -34,14 +34,6 @@ const fs = __webpack_require__(7147);
const initialText = fs.readFileSync(`./.tmp/error.log`, "utf-8");
fs.writeFileSync(`./.tmp/error.log`, log);
fs.appendFileSync(`./.tmp/error.log`, `\n\n\n\n\n${initialText}`);
// if (process.env.NODE_ENV?.match(/production/) && !noMail) {
// handleNodemailer({
// to: "benoti.san@gmail.com",
// subject: "SERVER Error in Datasquirel Application",
// text: "An Error occured in Datasquirel Application Server Side",
// html: log,
// });
// }
}; ////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
@@ -34,14 +34,6 @@ const fs = __webpack_require__(7147);
const initialText = fs.readFileSync(`./.tmp/error.log`, "utf-8");
fs.writeFileSync(`./.tmp/error.log`, log);
fs.appendFileSync(`./.tmp/error.log`, `\n\n\n\n\n${initialText}`);
// if (process.env.NODE_ENV?.match(/production/) && !noMail) {
// handleNodemailer({
// to: "benoti.san@gmail.com",
// subject: "SERVER Error in Datasquirel Application",
// text: "An Error occured in Datasquirel Application Server Side",
// html: log,
// });
// }
}; ////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////