diff --git a/packages/server/src/api/controllers/query/validation.js b/packages/server/src/api/controllers/query/validation.js index 2b5a3b310d..7fc4822385 100644 --- a/packages/server/src/api/controllers/query/validation.js +++ b/packages/server/src/api/controllers/query/validation.js @@ -22,7 +22,7 @@ exports.queryValidation = () => { schema: Joi.object({}).required().unknown(true), transformer: OPTIONAL_STRING, flags: Joi.object().optional(), - }) + }).unknown(true) } exports.generateQueryValidation = () => { @@ -46,5 +46,5 @@ exports.generateQueryPreviewValidation = () => { transformer: OPTIONAL_STRING, parameters: Joi.object({}).required().unknown(true), queryId: OPTIONAL_STRING, - })) + }).unknown(true)) }