Remove unneeded code from API route
This commit is contained in:
parent
2ac3b146b1
commit
95a546171a
@ -65,9 +65,7 @@ apiRoutes = function (middleware) {
|
||||
|
||||
// ## Mail
|
||||
router.post('/mail', api.http(api.mail.send));
|
||||
router.post('/mail/test', function (req, res) {
|
||||
api.http(api.mail.sendTest)(req, res);
|
||||
});
|
||||
router.post('/mail/test', api.http(api.mail.sendTest));
|
||||
|
||||
// ## Authentication
|
||||
router.post('/authentication/passwordreset',
|
||||
|
Loading…
Reference in New Issue
Block a user