Skip to content

Commit

Permalink
fix(payments): allow 0 cents (#7298)
Browse files Browse the repository at this point in the history
fix: allow 0 cents
  • Loading branch information
KenLSM authored Apr 30, 2024
1 parent f0fdf9c commit 70a0dfa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ const updatePaymentsValidator = celebrate({
then: Joi.boolean().required(),
}),

global_min_amount_override: JoiInt.positive().optional(),
global_min_amount_override: JoiInt.positive().allow(0).optional(),
},
})

Expand Down

0 comments on commit 70a0dfa

Please sign in to comment.