matched values

This commit is contained in:
CHIEFSOFT\ameye
2024-08-28 07:25:04 -04:00
parent 2bfc903fcb
commit bc1490d780
+3 -2
View File
@@ -48,6 +48,8 @@ WRENCHJOB_EMAIL_PASS='may12002!'
const mailMessage = this.parseEmailFile('depend_job_added');
const tempVal = this.getTemplateValues(mailMessage);
console.log("MATCHED VALUES =>", tempVal);
const transporter = nodemailer.createTransport({
service: "gmail",
host: `${emailServer}`,
@@ -113,9 +115,8 @@ WRENCHJOB_EMAIL_PASS='may12002!'
const returnedValues = matches.map(item => item.replace(regexForBrackets,'')) //STRIP OUT CURLY BRACKETS
return returnedValues
}
return 'no match found'
return [];
}
};
module.exports = assign_action;