set default all for incident validation

This commit is contained in:
Alex Holliday committed 2026-03-26 10:33:19 -07:00
1 parent c558c4b635
commit 2b2db2df6f
1 file changed
+1 -1
+1 -1
View File
@@ -7,7 +7,7 @@ import { booleanCoercion } from "./shared.js";
export const getIncidentsByTeamQueryValidation = z.object({
sortOrder: z.enum(["asc", "desc"]),
dateRange: z.enum(["recent", "hour", "day", "week", "month", "all"]),
dateRange: z.enum(["recent", "hour", "day", "week", "month", "all"]).default("all"),
page: z.coerce.number().int().min(0),
rowsPerPage: z.coerce.number().int().min(1),
status: booleanCoercion.optional(),