Skip to content

Commit

Permalink
Max payments fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben authored and PeterSmallenbroek committed Jan 13, 2025
1 parent 99b50da commit f4eae9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export class RegistrationsInputValidator {
validatedRegistrationInput.paymentAmountMultiplier =
validatedPaymentAmountMultiplier;
}
if (program.enableMaxPayments && row.maxPayments != null) {
if (program.enableMaxPayments && row.maxPayments !== undefined) {
const { errorObj: errorObjMaxPayments, validatedMaxPayments } =
this.validateMaxPayments({
value: row.maxPayments,
Expand Down

0 comments on commit f4eae9a

Please sign in to comment.