Skip to content

Commit 9b539ee

Browse files
fix: validation now allows challengeType 27 (freeCodeCamp#59825)
1 parent aa8aded commit 9b539ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

curriculum/schema/challenge-schema.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ const schema = Joi.object()
156156
otherwise: Joi.optional()
157157
}),
158158
certification: Joi.string().regex(slugWithSlashRE),
159-
challengeType: Joi.number().min(0).max(26).required(),
159+
challengeType: Joi.number().min(0).max(27).required(),
160160
checksum: Joi.number(),
161161
// TODO: require this only for normal challenges, not certs
162162
dashedName: Joi.string().regex(slugRE),

0 commit comments

Comments
 (0)