mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46: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) {
|
||||
const payload = {
|
||||
...(data.payload || {}),
|
||||
subject: '[[email:test-email.subject]]',
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user