Fix emails
Closed this issue · 1 comments
noobling commented
It was blowing up the website before so I had to disable it.
/**
* Sends an email and text notification with the given message
*
* @param {*} req
* @param {*} res
*/
module.exports.notification = (number, email, message, subject, res) => {
// if (email !== undefined) {
// sendEmail(email, subject, message, res);
// }
if (number !== undefined) {
sendSMS(number, message, res);
}
};
Disabled it here in communication.js
noobling commented
Might be because prod server doesnt have node mail details will have to check this.