File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -981,6 +981,7 @@ createChallenge.schema = {
981
981
key : Joi . string ( )
982
982
} ) ) ,
983
983
discussions : Joi . array ( ) . items ( Joi . object ( ) . keys ( {
984
+ id : Joi . optionalId ( ) ,
984
985
name : Joi . string ( ) . required ( ) ,
985
986
type : Joi . string ( ) . required ( ) . valid ( _ . values ( constants . DiscussionTypes ) ) ,
986
987
provider : Joi . string ( ) . required ( ) ,
@@ -1734,6 +1735,7 @@ fullyUpdateChallenge.schema = {
1734
1735
key : Joi . string ( )
1735
1736
} ) . unknown ( true ) ) ,
1736
1737
discussions : Joi . array ( ) . items ( Joi . object ( ) . keys ( {
1738
+ id : Joi . optionalId ( ) ,
1737
1739
name : Joi . string ( ) . required ( ) ,
1738
1740
type : Joi . string ( ) . required ( ) . valid ( _ . values ( constants . DiscussionTypes ) ) ,
1739
1741
provider : Joi . string ( ) . required ( ) ,
@@ -1821,6 +1823,7 @@ partiallyUpdateChallenge.schema = {
1821
1823
key : Joi . string ( )
1822
1824
} ) . unknown ( true ) ) ,
1823
1825
discussions : Joi . array ( ) . items ( Joi . object ( ) . keys ( {
1826
+ id : Joi . optionalId ( ) ,
1824
1827
name : Joi . string ( ) . required ( ) ,
1825
1828
type : Joi . string ( ) . required ( ) . valid ( _ . values ( constants . DiscussionTypes ) ) ,
1826
1829
provider : Joi . string ( ) . required ( ) ,
You can’t perform that action at this time.
0 commit comments