Skip to content

Commit 80a4689

Browse files
committed
fix: allow private description to be empty
1 parent 68a7dfd commit 80a4689

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/ChallengeService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1982,7 +1982,7 @@ updateChallenge.schema = {
19821982
typeId: Joi.optionalId(),
19831983
name: Joi.string().optional(),
19841984
description: Joi.string().optional(),
1985-
privateDescription: Joi.string().optional(),
1985+
privateDescription: Joi.string().allow('').optional(),
19861986
descriptionFormat: Joi.string().optional(),
19871987
metadata: Joi.array()
19881988
.items(

0 commit comments

Comments
 (0)