fix: allow interactive in review challenges, require that or description (#65246)

This commit is contained in:
Naomi Carrigan
2026-01-19 00:26:48 -08:00
committed by GitHub
parent f908382e94
commit 31b07ce03b
+2 -1
View File
@@ -174,7 +174,8 @@ const schema = Joi.object().keys({
challengeTypes.step,
challengeTypes.video,
challengeTypes.multipleChoice,
challengeTypes.fillInTheBlank
challengeTypes.fillInTheBlank,
challengeTypes.review
],
then: Joi.string().allow(''),
otherwise: Joi.string().required()