opolyo01
Results
1
issues of
opolyo01
The quantity field will not be displayed, so I am forced to use Joi.number().positive().integer() instead. ``` quantity: Joi.when('unit', { is: 'shares', then: Joi.number().positive().integer(), otherwise: Joi.number().positive() }).required().example(1), ```