mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Allowed POST & DELETE webhooks endpoints for integrations
refs #9865 - was not sure about allowing to edit webhooks
This commit is contained in:
parent
b83232bf0c
commit
f8a286869a
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,8 @@ const notImplemented = function (req, res, next) {
|
|||
themes: ['POST'],
|
||||
subscribers: ['GET', 'PUT', 'DELETE', 'POST'],
|
||||
configuration: ['GET'],
|
||||
actions: ['GET']
|
||||
actions: ['GET'],
|
||||
webhooks: ['POST', 'DELETE']
|
||||
};
|
||||
|
||||
const match = req.url.match(/^\/(\w+)\/?/);
|
||||
|
|
Loading…
Add table
Reference in a new issue