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.
2 parents bf1cd0c + 9e9593c commit 0603725Copy full SHA for 0603725
src/services/JobService.js
@@ -376,10 +376,10 @@ fullyUpdateJob.schema = Joi.object().keys({
376
jobTimezone: Joi.stringAllowEmpty().allow(null),
377
currency: Joi.stringAllowEmpty().allow(null),
378
roleIds: Joi.array().items(Joi.string().uuid().required()).default(null),
379
- showInHotList: Joi.boolean(),
380
- featured: Joi.boolean(),
381
- hotListExcerpt: Joi.stringAllowEmpty(),
382
- jobTag: Joi.jobTag()
+ showInHotList: Joi.boolean().default(false),
+ featured: Joi.boolean().default(false),
+ hotListExcerpt: Joi.stringAllowEmpty().default(''),
+ jobTag: Joi.jobTag().default('')
383
}).required()
384
385
0 commit comments