1
0
Fork 0
mirror of synced 2024-06-28 02:50:50 +12:00

Quick fix for query validation to fix issue with createdAt and updatedAt properties.

This commit is contained in:
mike12345567 2022-08-01 12:07:49 +01:00
parent 155a4b68a7
commit e267242d8e

View file

@ -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))
}