Skip to content

Commit

Permalink
feat: remove max value for minimum team size
Browse files Browse the repository at this point in the history
  • Loading branch information
IanFonzie committed Sep 22, 2023
1 parent b0c209e commit bd83685
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/shared/lib/validation/opportunity/sprint-with-us.ts
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,9 @@ export function validateMinimumTeamMembers(
raw?: number | null
): Validation<number | null> {
return mapValid(
optional(raw, (v) => validateNumber(v, 1, 5, "minimum team size", "a")),
optional(raw, (v) =>
validateNumber(v, 1, undefined, "minimum team size", "a")
),
(v) => v || null
);
}
Expand Down

0 comments on commit bd83685

Please sign in to comment.