0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Cleaned up unused controller method

- this isn't being used anywhere, so we can clean it up
This commit is contained in:
Daniel Lockyer 2024-05-07 11:21:38 +02:00 committed by Daniel Lockyer
parent 1fd155d56a
commit dccb4ac84e

View file

@ -47,24 +47,6 @@ const controller = {
query(frame) {
return _private.sendMail(frame.data);
}
},
sendTest(frame) {
return mailService.utils.generateContent({template: 'test'})
.then((content) => {
const payload = {
mail: [{
message: {
to: frame.user.get('email'),
subject: tpl(messages.testGhostEmail),
html: content.html,
text: content.text
}
}]
};
return _private.sendMail(payload);
});
}
};