File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1882,7 +1882,7 @@ fullyUpdateChallenge.schema = {
1882
1882
phaseId : Joi . id ( ) ,
1883
1883
duration : Joi . number ( ) . integer ( ) . min ( 0 ) ,
1884
1884
isOpen : Joi . boolean ( ) ,
1885
- actualEndDate : Joi . date ( )
1885
+ actualEndDate : Joi . date ( ) . allow ( null )
1886
1886
} ) . unknown ( true ) ) ,
1887
1887
prizeSets : Joi . array ( ) . items ( Joi . object ( ) . keys ( {
1888
1888
type : Joi . string ( ) . valid ( _ . values ( constants . prizeSetTypes ) ) . required ( ) ,
@@ -1986,7 +1986,7 @@ partiallyUpdateChallenge.schema = {
1986
1986
phaseId : Joi . id ( ) ,
1987
1987
duration : Joi . number ( ) . integer ( ) . min ( 0 ) ,
1988
1988
isOpen : Joi . boolean ( ) ,
1989
- actualEndDate : Joi . date ( )
1989
+ actualEndDate : Joi . date ( ) . allow ( null )
1990
1990
} ) . unknown ( true ) ) . min ( 1 ) ,
1991
1991
events : Joi . array ( ) . items ( Joi . object ( ) . keys ( {
1992
1992
id : Joi . number ( ) . required ( ) ,
You can’t perform that action at this time.
0 commit comments