From bc1490d780957f29ace982e72bf023cf47e9505a Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Wed, 28 Aug 2024 07:25:04 -0400 Subject: [PATCH] matched values --- app/assign_action.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/assign_action.js b/app/assign_action.js index b16cc1e..c69a14f 100644 --- a/app/assign_action.js +++ b/app/assign_action.js @@ -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; \ No newline at end of file