We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf00b25 commit 02204c6Copy full SHA for 02204c6
src/services/WorkPeriodPaymentService.js
@@ -457,7 +457,10 @@ createQueryWorkPeriodPayments.schema = Joi.object().keys({
457
Joi.string(),
458
Joi.array().items(Joi.number().integer())
459
),
460
- 'workPeriods.paymentStatus': Joi.paymentStatus(),
+ 'workPeriods.paymentStatus': Joi.alternatives(
461
+ Joi.string(),
462
+ Joi.array().items(Joi.paymentStatus())
463
+ ),
464
'workPeriods.startDate': Joi.date().format('YYYY-MM-DD'),
465
'workPeriods.endDate': Joi.date().format('YYYY-MM-DD'),
466
'workPeriods.userHandle': Joi.string()
0 commit comments