Skip to content

Commit 0603725

Browse files
Merge pull request #561 from topcoder-platform/gigs-change-aggs
restore put default value
2 parents bf1cd0c + 9e9593c commit 0603725

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/services/JobService.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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(),
380-
featured: Joi.boolean(),
381-
hotListExcerpt: Joi.stringAllowEmpty(),
382-
jobTag: Joi.jobTag()
379+
showInHotList: Joi.boolean().default(false),
380+
featured: Joi.boolean().default(false),
381+
hotListExcerpt: Joi.stringAllowEmpty().default(''),
382+
jobTag: Joi.jobTag().default('')
383383
}).required()
384384
}).required()
385385

0 commit comments

Comments
 (0)