mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-04-29 13:10:03 -05:00
Add validation for status param
This commit is contained in:
@@ -292,6 +292,7 @@ const getChecksQueryValidation = joi.object({
|
||||
filter: joi.string().valid("all", "down", "resolve"),
|
||||
page: joi.number(),
|
||||
rowsPerPage: joi.number(),
|
||||
status: joi.boolean(),
|
||||
});
|
||||
|
||||
const getTeamChecksParamValidation = joi.object({
|
||||
@@ -305,6 +306,7 @@ const getTeamChecksQueryValidation = joi.object({
|
||||
filter: joi.string().valid("all", "down", "resolve"),
|
||||
page: joi.number(),
|
||||
rowsPerPage: joi.number(),
|
||||
status: joi.boolean(),
|
||||
});
|
||||
|
||||
const deleteChecksParamValidation = joi.object({
|
||||
|
||||
Reference in New Issue
Block a user