TASK22109: email mini-slice tidy and notify negative-path tests
This commit is contained in:
@@ -72,10 +72,8 @@ export default async function ApiProxy(req, res) {
|
||||
.sendEmail(data.templateId, data.emailAddress, {
|
||||
personalisation: data.personalisation,
|
||||
reference: data.reference
|
||||
// emailReplyToId: emailReplyToId,
|
||||
})
|
||||
.then((response) => {
|
||||
//console.log("thisis the response", response);
|
||||
.then(() => {
|
||||
return respondSuccess(res, data);
|
||||
})
|
||||
.catch((error) => {
|
||||
@@ -86,5 +84,4 @@ export default async function ApiProxy(req, res) {
|
||||
message: "Failed to send notify email"
|
||||
});
|
||||
});
|
||||
//return res.status(200).json(data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user