0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00

Updated theme activation API to experimental

- allow both uploading and activating themes as experiemental API features
- previously only uploading was allowed, I believe purely due to an oversight
This commit is contained in:
Hannah Wolfe 2019-07-01 10:14:03 +01:00
parent 9f2e1bfde7
commit 6f507b8608

View file

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