Allowed subscribers for admin api v2 with api key authentication

refs #9865

- needed for Zapier
This commit is contained in:
kirrg001 2019-01-31 22:09:14 +01:00
parent 93092c8f20
commit a45f76c574

View File

@ -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+)\/?/);