feat: allow payload to be passed to emailer test method

v1.18.x
Julian Lam 4 years ago
parent 00a68a9548
commit 1155b0c42f

@ -10,6 +10,7 @@ const Email = module.exports;
Email.test = async function (socket, data) {
const payload = {
...(data.payload || {}),
subject: '[[email:test-email.subject]]',
};

Loading…
Cancel
Save