Skip to content

Commit

Permalink
Ok
Browse files Browse the repository at this point in the history
  • Loading branch information
hughcrt committed Jul 16, 2024
1 parent 60a8b41 commit 2e236ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/checks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ export const CHECK_RUNNERS: CheckRunner[] = [
const parsed = new Date(date)
const isValid = parsed instanceof Date && !isNaN(parsed.getTime())

if (!date || isValid) return sql`true`
if (!date || !isValid) return sql`true`

return sql`r.created_at ${postgresOperators(operator)} ${parsed}`
},
Expand Down

0 comments on commit 2e236ab

Please sign in to comment.