We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee5ff4d commit 16e916cCopy full SHA for 16e916c
src/services/JobProcessorService.js
@@ -88,10 +88,10 @@ processCreate.schema = Joi.object()
88
roleIds: Joi.array()
89
.items(Joi.string().uuid().required())
90
.allow(null),
91
- showInHotList: Joi.boolean(),
92
- featured: Joi.boolean(),
93
- hotListExcerpt: Joi.stringAllowEmpty(),
94
- jobTag: Joi.jobTag()
+ showInHotList: Joi.boolean().default(false),
+ featured: Joi.boolean().default(false),
+ hotListExcerpt: Joi.stringAllowEmpty().default(''),
+ jobTag: Joi.jobTag().default('')
95
})
96
.required()
97
0 commit comments