@@ -332,10 +332,10 @@ partiallyUpdateJob.schema = Joi.object()
332332 jobTimezone : Joi . stringAllowEmpty ( ) . allow ( null ) ,
333333 currency : Joi . stringAllowEmpty ( ) . allow ( null ) ,
334334 roleIds : Joi . array ( ) . items ( Joi . string ( ) . uuid ( ) . required ( ) ) . allow ( null ) ,
335- showInHotList : Joi . boolean ( ) . default ( false ) ,
336- featured : Joi . boolean ( ) . default ( false ) ,
337- hotListExcerpt : Joi . stringAllowEmpty ( ) . default ( '' ) . allow ( null ) ,
338- jobTag : Joi . jobTag ( ) . default ( '' ) . allow ( null )
335+ showInHotList : Joi . boolean ( ) ,
336+ featured : Joi . boolean ( ) ,
337+ hotListExcerpt : Joi . stringAllowEmpty ( ) ,
338+ jobTag : Joi . jobTag ( )
339339 } )
340340 . required ( )
341341 } )
@@ -376,10 +376,10 @@ fullyUpdateJob.schema = Joi.object().keys({
376376 jobTimezone : Joi . stringAllowEmpty ( ) . allow ( null ) ,
377377 currency : Joi . stringAllowEmpty ( ) . allow ( null ) ,
378378 roleIds : Joi . array ( ) . items ( Joi . string ( ) . uuid ( ) . required ( ) ) . default ( null ) ,
379- showInHotList : Joi . boolean ( ) . default ( false ) ,
380- featured : Joi . boolean ( ) . default ( false ) ,
381- hotListExcerpt : Joi . stringAllowEmpty ( ) . default ( '' ) . allow ( null ) ,
382- jobTag : Joi . jobTag ( ) . default ( '' ) . allow ( null )
379+ showInHotList : Joi . boolean ( ) ,
380+ featured : Joi . boolean ( ) ,
381+ hotListExcerpt : Joi . stringAllowEmpty ( ) ,
382+ jobTag : Joi . jobTag ( )
383383 } ) . required ( )
384384} ) . required ( )
385385
0 commit comments