mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-01 02:41:39 -05:00
Removed POST /subscribers from v2 content api (#10010)
no-issue The content api is for serving read-only content only. This route does not belong here.
This commit is contained in:
parent
3db102a776
commit
943e1c872c
1 changed files with 0 additions and 4 deletions
|
@ -34,9 +34,5 @@ module.exports = function apiRoutes() {
|
|||
router.get('/tags/:id', mw.authenticatePublic, apiv2.http(apiv2.tags.read));
|
||||
router.get('/tags/slug/:slug', mw.authenticatePublic, apiv2.http(apiv2.tags.read));
|
||||
|
||||
// ## Subscribers
|
||||
// @TODO: find a way than `middlewares.labs`
|
||||
router.post('/subscribers', shared.middlewares.labs.subscribers, mw.authenticatePublic, api.http(api.subscribers.add));
|
||||
|
||||
return router;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue