File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ const schema = {
25
25
duration : Joi . number ( ) . integer ( ) . min ( 1 ) . optional ( ) ,
26
26
startDate : Joi . date ( ) . required ( ) ,
27
27
actualStartDate : Joi . date ( ) . allow ( null ) ,
28
- endDate : Joi . date ( ) . min ( Joi . ref ( 'startDate' ) ) . allow ( null ) ,
29
- completionDate : Joi . date ( ) . min ( Joi . ref ( 'startDate' ) ) . allow ( null ) ,
28
+ endDate : Joi . date ( ) . allow ( null ) ,
29
+ completionDate : Joi . date ( ) . allow ( null ) ,
30
30
status : Joi . string ( ) . max ( 45 ) . optional ( ) ,
31
31
type : Joi . string ( ) . max ( 45 ) . optional ( ) ,
32
32
details : Joi . object ( ) ,
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ const schema = {
24
24
startDate : Joi . date ( ) . required ( ) ,
25
25
actualStartDate : Joi . date ( ) . allow ( null ) ,
26
26
endDate : Joi . date ( ) . min ( Joi . ref ( 'startDate' ) ) . allow ( null ) ,
27
- completionDate : Joi . date ( ) . min ( Joi . ref ( 'startDate' ) ) . allow ( null ) ,
27
+ completionDate : Joi . date ( ) . allow ( null ) ,
28
28
status : Joi . string ( ) . max ( 45 ) . required ( ) ,
29
29
type : Joi . string ( ) . max ( 45 ) . required ( ) ,
30
30
details : Joi . object ( ) ,
You can’t perform that action at this time.
0 commit comments