Remove unneeded code from API route

This commit is contained in:
Hannah Wolfe 2015-05-05 12:50:21 +01:00
parent 2ac3b146b1
commit 95a546171a

View File

@ -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',