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 @@ -1033,7 +1033,7 @@ fullyUpdateChallenge.schema = {
1033
1033
handle : Joi . string ( ) . required ( ) ,
1034
1034
placement : Joi . number ( ) . integer ( ) . positive ( ) . required ( )
1035
1035
} ) ) . min ( 1 ) ,
1036
- termsIds : Joi . array ( ) . items ( Joi . id ( ) ) . optional ( ) . allow ( [ ] )
1036
+ termsIds : Joi . array ( ) . items ( Joi . id ( ) . optional ( ) ) . optional ( ) . allow ( [ ] )
1037
1037
} ) . required ( ) ,
1038
1038
userToken : Joi . any ( )
1039
1039
}
@@ -1093,7 +1093,7 @@ partiallyUpdateChallenge.schema = {
1093
1093
handle : Joi . string ( ) . required ( ) ,
1094
1094
placement : Joi . number ( ) . integer ( ) . positive ( ) . required ( )
1095
1095
} ) ) . min ( 1 ) ,
1096
- termsIds : Joi . array ( ) . items ( Joi . id ( ) ) . optional ( ) . allow ( [ ] )
1096
+ termsIds : Joi . array ( ) . items ( Joi . id ( ) . optional ( ) ) . optional ( ) . allow ( [ ] )
1097
1097
} ) . required ( ) ,
1098
1098
userToken : Joi . any ( )
1099
1099
}
You can’t perform that action at this time.
0 commit comments