Skip to content

Commit

Permalink
Remove unneeded code from API route
Browse files Browse the repository at this point in the history
  • Loading branch information
ErisDS committed May 5, 2015
1 parent 2ac3b14 commit 95a5461
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/server/routes/api.js
Expand Up @@ -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',
Expand Down

0 comments on commit 95a5461

Please sign in to comment.