mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
initial commit to emailer system overhaul
This commit is contained in:
@@ -80,7 +80,12 @@ var DebugRoute = function(app) {
|
||||
});
|
||||
|
||||
app.get('/test', function(req, res) {
|
||||
user.pushNotifCount(2);
|
||||
var Emailer = require('../emailer');
|
||||
Emailer.send('welcome', {
|
||||
username: 'test',
|
||||
site_title: 'derp',
|
||||
confirm_link: 'linkylink'
|
||||
});
|
||||
res.send();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user