diff --git a/core/server/web/api/canary/admin/routes.js b/core/server/web/api/canary/admin/routes.js index 7f1fac87b1..2efd6833cd 100644 --- a/core/server/web/api/canary/admin/routes.js +++ b/core/server/web/api/canary/admin/routes.js @@ -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; };