Skip to content

Commit dcb0a13

Browse files
committed
fix: empty string fix
1 parent d898555 commit dcb0a13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/JobCandidateService.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ fullyUpdateJobCandidate.schema = Joi.object().keys({
203203
userId: Joi.string().uuid().required(),
204204
status: Joi.jobCandidateStatus().default('open'),
205205
externalId: Joi.string().allow(null).default(null),
206-
resume: Joi.string().stringAllowEmpty().uri().allow(null).default(null),
207-
remark: Joi.string().stringAllowEmpty().allow(null).default(null)
206+
resume: Joi.string().uri().allow('').allow(null).default(null),
207+
remark: Joi.string().allow('').allow(null).default(null)
208208
}).required()
209209
}).required()
210210

0 commit comments

Comments
 (0)