From b97eef7a623342de0e5e7be6093085ca791c090e Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Fri, 19 Apr 2024 08:14:45 +0000 Subject: [PATCH] fix: uncomment email sender --- src/subscribers/emailSubscriber.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/subscribers/emailSubscriber.js b/src/subscribers/emailSubscriber.js index c4a25c3..a068b79 100644 --- a/src/subscribers/emailSubscriber.js +++ b/src/subscribers/emailSubscriber.js @@ -62,11 +62,10 @@ module.exports = (app) => { name: sendgridParams.fromName, }, }; -return null - // const response = await axios.post(defaultParams.url, data, { - // headers: defaultParams.headers, - // }); - // return response; + const response = await axios.post(defaultParams.url, data, { + headers: defaultParams.headers, + }); + return response; }; // Create a new listener for the parse.end event