Skip to content

Commit 98a5c60

Browse files
committed
fix: allow empty string
1 parent 46011a3 commit 98a5c60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/JobCandidateService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ createJobCandidate.schema = Joi.object().keys({
131131
userId: Joi.string().uuid().required(),
132132
externalId: Joi.string().allow(null),
133133
resume: Joi.string().uri().allow(null),
134-
remark: Joi.string().allow(null)
134+
remark: Joi.stringAllowEmpty().allow(null)
135135
}).required()
136136
}).required()
137137

0 commit comments

Comments
 (0)