Remove optional before prefault for zod v4

This commit is contained in:
Owen
2026-09-15 10:25:21 -04:00
parent 24a06dd8ca
commit c6c443f0e0
6 changed files with 0 additions and 7 deletions
@@ -41,7 +41,6 @@ export const queryAccessAuditLogsQuery = z.strictObject({
error: "timeEnd must be a valid ISO date string"
})
.transform((val) => Math.floor(new Date(val).getTime() / 1000))
.optional()
.prefault(() => new Date().toISOString())
.openapi({
type: "string",