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:
parent
3e331fcf86
commit
9018e64493
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue