|
@ -62,11 +62,10 @@ module.exports = (app) => { |
|
|
name: sendgridParams.fromName, |
|
|
name: sendgridParams.fromName, |
|
|
}, |
|
|
}, |
|
|
}; |
|
|
}; |
|
|
return null |
|
|
const response = await axios.post(defaultParams.url, data, { |
|
|
// const response = await axios.post(defaultParams.url, data, {
|
|
|
headers: defaultParams.headers, |
|
|
// headers: defaultParams.headers,
|
|
|
}); |
|
|
// });
|
|
|
return response; |
|
|
// return response;
|
|
|
|
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
// Create a new listener for the parse.end event
|
|
|
// Create a new listener for the parse.end event
|
|
|