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"});