Skip to content

Commit

Permalink
Merge pull request #426 from bcgov/feat/remove-minimum-team-member-ma…
Browse files Browse the repository at this point in the history
…ximum

feat: remove max value for minimum team size
  • Loading branch information
SteveChapmanBCDX authored Sep 22, 2023
2 parents 6ef3a5a + bd83685 commit 791a594
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 791a594

Please sign in to comment.