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 09368f1 commit d898555Copy full SHA for d898555
src/services/JobService.js
@@ -208,9 +208,9 @@ createJob.schema = Joi.object()
208
minSalary: Joi.number().integer().allow(null),
209
maxSalary: Joi.number().integer().allow(null),
210
hoursPerWeek: Joi.number().integer().allow(null),
211
- jobLocation: Joi.string().allow(null).stringAllowEmpty(),
212
- jobTimezone: Joi.string().allow(null).stringAllowEmpty(),
213
- currency: Joi.string().allow(null).stringAllowEmpty(),
+ jobLocation: Joi.string().allow(null).allow(''),
+ jobTimezone: Joi.string().allow(null).allow(''),
+ currency: Joi.string().allow(null).allow(''),
214
roleIds: Joi.array().items(Joi.string().uuid().required()),
215
})
216
.required(),
0 commit comments