From 643fbbbb1f8fcb5db99aca4316066f730bce80d0 Mon Sep 17 00:00:00 2001 From: "Fabien \"egg\" O'Carroll" Date: Fri, 9 Jun 2023 08:53:55 +0200 Subject: [PATCH] Removed collections from stable list in Admin API We had to add these so that they could be played with programatically but now we have a god_mode flag, we can remove them. --- ghost/core/core/server/web/api/endpoints/admin/middleware.js | 1 - 1 file changed, 1 deletion(-) diff --git a/ghost/core/core/server/web/api/endpoints/admin/middleware.js b/ghost/core/core/server/web/api/endpoints/admin/middleware.js index e7fb7e346f..c0c8871485 100644 --- a/ghost/core/core/server/web/api/endpoints/admin/middleware.js +++ b/ghost/core/core/server/web/api/endpoints/admin/middleware.js @@ -23,7 +23,6 @@ const notImplemented = function (req, res, next) { site: ['GET'], posts: ['GET', 'PUT', 'DELETE', 'POST'], pages: ['GET', 'PUT', 'DELETE', 'POST'], - collections: ['GET', 'PUT', 'DELETE', 'POST'], images: ['POST'], webhooks: ['POST', 'PUT', 'DELETE'], actions: ['GET'],