mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Added email preview endpoint to Admin API
This commit is contained in:
parent
5e9a701d3a
commit
61af0e08ae
1 changed files with 3 additions and 0 deletions
|
@ -215,5 +215,8 @@ module.exports = function apiRoutes() {
|
|||
// ## Actions
|
||||
router.get('/actions', mw.authAdminApi, http(apiCanary.actions.browse));
|
||||
|
||||
// ## Emails
|
||||
router.get('/email_preview/posts/:id', mw.authAdminApi, http(apiCanary.email_preview.read));
|
||||
|
||||
return router;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue