mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
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:
parent
30326cbd2d
commit
1fa70dea23
2 changed files with 2 additions and 0 deletions
|
@ -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'],
|
||||
|
|
|
@ -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'],
|
||||
|
|
Loading…
Add table
Reference in a new issue