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 64a6e10 commit 4a70730Copy full SHA for 4a70730
src/routes/milestones/update.js
@@ -22,9 +22,9 @@ const schema = {
22
name: Joi.string().max(255).optional(),
23
description: Joi.string().max(255),
24
duration: Joi.number().integer().min(1).optional(),
25
- startDate: Joi.date().allow(null),
+ startDate: Joi.any().forbidden(),
26
actualStartDate: Joi.date().allow(null),
27
- endDate: Joi.date().min(Joi.ref('startDate')).allow(null),
+ endDate: Joi.any().forbidden(),
28
completionDate: Joi.date().allow(null),
29
status: Joi.string().max(45).optional(),
30
type: Joi.string().max(45).optional(),
0 commit comments