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