Skip to content

Commit

Permalink
Fixed email preview auth for test mails
Browse files Browse the repository at this point in the history
no issue
  • Loading branch information
rishabhgrg committed Nov 6, 2019
1 parent 3e331fc commit 9018e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/server/web/api/canary/admin/routes.js
Expand Up @@ -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;
};

0 comments on commit 9018e64

Please sign in to comment.