Quick fix for query validation to fix issue with createdAt and updatedAt properties.
This commit is contained in:
parent
194002e777
commit
a3baad6e04
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue