mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
feat(curriculum): add Chinese and Spanish help categories to challenge schema (#63597)
This commit is contained in:
@@ -212,7 +212,9 @@ const schema = Joi.object().keys({
|
|||||||
'English',
|
'English',
|
||||||
'Odin',
|
'Odin',
|
||||||
'Euler',
|
'Euler',
|
||||||
'Rosetta'
|
'Rosetta',
|
||||||
|
'Chinese Curriculum',
|
||||||
|
'Spanish Curriculum'
|
||||||
).required(),
|
).required(),
|
||||||
isLastChallengeInBlock: Joi.boolean().required(),
|
isLastChallengeInBlock: Joi.boolean().required(),
|
||||||
videoUrl: Joi.string().allow(''),
|
videoUrl: Joi.string().allow(''),
|
||||||
|
|||||||
Reference in New Issue
Block a user