Add parameter for date ranges to return all checks

This commit is contained in:
Alex Holliday committed 2024-11-22 09:49:32 +08:00
1 parent a84916f0b0
commit ec1563bba2
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -178,7 +178,7 @@ const getMonitorStatsByIdQueryValidation = joi.object({
status: joi.string(),
limit: joi.number(),
sortOrder: joi.string().valid("asc", "desc"),
dateRange: joi.string().valid("day", "week", "month"),
dateRange: joi.string().valid("day", "week", "month", "all"),
numToDisplay: joi.number(),
normalize: joi.boolean(),
});