Skip to content

Commit 432b0e5

Browse files
joi check
1 parent bbe2977 commit 432b0e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/JobService.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,8 @@ fullyUpdateJob.schema = Joi.object().keys({
378378
roleIds: Joi.array().items(Joi.string().uuid().required()).default(null),
379379
showInHotList: Joi.boolean(),
380380
featured: Joi.boolean(),
381-
hotListExcerpt: Joi.stringAllowEmpty().allow(null),
382-
jobTag: Joi.jobTag().allow(null)
381+
hotListExcerpt: Joi.stringAllowEmpty(),
382+
jobTag: Joi.jobTag()
383383
}).required()
384384
}).required()
385385

0 commit comments

Comments
 (0)