Whitelisted members endpoints for v2 and canary Admin APIs (#11196)

no issue

- http verbs needed to be whitelisted for the members endpoint to avoid `NotImplementedError`s when accessing
This commit is contained in:
Kevin Ansfield 2019-10-03 17:28:20 +01:00 committed by GitHub
parent 30326cbd2d
commit 1fa70dea23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ const notImplemented = function (req, res, next) {
tags: ['GET', 'PUT', 'DELETE', 'POST'],
users: ['GET'],
themes: ['POST', 'PUT'],
members: ['GET', 'PUT', 'DELETE', 'POST'],
subscribers: ['GET', 'PUT', 'DELETE', 'POST'],
config: ['GET'],
webhooks: ['POST', 'DELETE'],

View File

@ -19,6 +19,7 @@ const notImplemented = function (req, res, next) {
tags: ['GET', 'PUT', 'DELETE', 'POST'],
users: ['GET'],
themes: ['POST', 'PUT'],
members: ['GET', 'PUT', 'DELETE', 'POST'],
subscribers: ['GET', 'PUT', 'DELETE', 'POST'],
config: ['GET'],
webhooks: ['POST', 'DELETE'],