mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-08 02:52:39 -05:00
Merge pull request #5220 from ErisDS/api-route-tweak
Remove unneeded code from API route
This commit is contained in:
commit
cc7c5be75b
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue