diff --git a/src/services/JobService.js b/src/services/JobService.js index 5915bc13..3e13519d 100644 --- a/src/services/JobService.js +++ b/src/services/JobService.js @@ -376,10 +376,10 @@ fullyUpdateJob.schema = Joi.object().keys({ jobTimezone: Joi.stringAllowEmpty().allow(null), currency: Joi.stringAllowEmpty().allow(null), roleIds: Joi.array().items(Joi.string().uuid().required()).default(null), - showInHotList: Joi.boolean(), - featured: Joi.boolean(), - hotListExcerpt: Joi.stringAllowEmpty(), - jobTag: Joi.jobTag() + showInHotList: Joi.boolean().default(false), + featured: Joi.boolean().default(false), + hotListExcerpt: Joi.stringAllowEmpty().default(''), + jobTag: Joi.jobTag().default('') }).required() }).required()