mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
feat: allow payload to be passed to emailer test method
This commit is contained in:
@@ -10,6 +10,7 @@ const Email = module.exports;
|
|||||||
|
|
||||||
Email.test = async function (socket, data) {
|
Email.test = async function (socket, data) {
|
||||||
const payload = {
|
const payload = {
|
||||||
|
...(data.payload || {}),
|
||||||
subject: '[[email:test-email.subject]]',
|
subject: '[[email:test-email.subject]]',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user