diff --git a/ghost/api-framework/lib/pipeline.js b/ghost/api-framework/lib/pipeline.js index 79dc5b424a..436de80465 100644 --- a/ghost/api-framework/lib/pipeline.js +++ b/ghost/api-framework/lib/pipeline.js @@ -196,7 +196,7 @@ const pipeline = (apiController, apiUtils, apiType) => { Object.freeze(apiImpl.headers); - obj[method] = async function wrapper() { + obj[method] = async function ImplWrapper() { const apiConfig = {docName, method}; let options; let data;