mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-03 08:25:06 +03:00
Allowed subscribers for admin api v2 with api key authentication
refs #9865 - needed for Zapier
This commit is contained in:
parent
93092c8f20
commit
a45f76c574
@ -16,7 +16,8 @@ const notImplemented = function (req, res, next) {
|
||||
images: ['POST'],
|
||||
// @NOTE: experimental
|
||||
users: ['GET'],
|
||||
themes: ['POST']
|
||||
themes: ['POST'],
|
||||
subscribers: ['GET', 'PUT', 'DELETE', 'POST']
|
||||
};
|
||||
|
||||
const match = req.url.match(/^\/(\w+)\/?/);
|
||||
|
Loading…
Reference in New Issue
Block a user