File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ createJob.schema = Joi.object()
237
237
hotListExcerpt : Joi . stringAllowEmpty ( ) . default ( '' ) ,
238
238
jobTag : Joi . jobTag ( ) . default ( '' ) ,
239
239
rcrmStatus : Joi . jobRcrmStatus ( ) . default ( 'Open' ) ,
240
- rcrmReason : Joi . string ( ) . allow ( null ) . default ( null )
240
+ rcrmReason : Joi . stringAllowEmpty ( ) . allow ( null ) . default ( null )
241
241
} )
242
242
. required ( ) ,
243
243
onTeamCreating : Joi . boolean ( ) . default ( false )
@@ -339,7 +339,7 @@ partiallyUpdateJob.schema = Joi.object()
339
339
hotListExcerpt : Joi . stringAllowEmpty ( ) ,
340
340
jobTag : Joi . jobTag ( ) ,
341
341
rcrmStatus : Joi . jobRcrmStatus ( ) ,
342
- rcrmReason : Joi . string ( ) . allow ( null )
342
+ rcrmReason : Joi . stringAllowEmpty ( ) . allow ( null )
343
343
} )
344
344
. required ( )
345
345
} )
@@ -385,7 +385,7 @@ fullyUpdateJob.schema = Joi.object().keys({
385
385
hotListExcerpt : Joi . stringAllowEmpty ( ) . default ( '' ) ,
386
386
jobTag : Joi . jobTag ( ) . default ( '' ) ,
387
387
rcrmStatus : Joi . jobRcrmStatus ( ) . default ( null ) ,
388
- rcrmReason : Joi . string ( ) . allow ( null ) . default ( null )
388
+ rcrmReason : Joi . stringAllowEmpty ( ) . allow ( null ) . default ( null )
389
389
} ) . required ( )
390
390
} ) . required ( )
391
391
You can’t perform that action at this time.
0 commit comments