diff --git a/src/routes/index.js b/src/routes/index.js index 55d2dd2a..b73743c6 100644 --- a/src/routes/index.js +++ b/src/routes/index.js @@ -89,7 +89,9 @@ module.exports = (app) => { error.statusCode = 400 throw error } + // Validate controller + allowedControllers.push('cloud-services') if (!allowedControllers.includes(controllerName)) { const error = new Error('Invalid controller.') error.statusCode = 400