0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Fixed email preview auth for test mails

no issue
This commit is contained in:
Rish 2019-11-06 13:15:14 +07:00
parent 3e331fcf86
commit 9018e64493

View file

@ -217,7 +217,7 @@ module.exports = function apiRoutes() {
// ## Emails
router.get('/email_preview/posts/:id', mw.authAdminApi, http(apiCanary.email_preview.read));
router.post('/email_preview/posts/:id', http(apiCanary.email_preview.sendTestEmail));
router.post('/email_preview/posts/:id', mw.authAdminApi, http(apiCanary.email_preview.sendTestEmail));
return router;
};