fix: validation now allows challengeType 27 (#59825)

This commit is contained in:
Ilenia
2025-04-20 21:42:03 +02:00
committed by GitHub
parent aa8adedc86
commit 9b539eefc7
+1 -1
View File
@@ -156,7 +156,7 @@ const schema = Joi.object()
otherwise: Joi.optional()
}),
certification: Joi.string().regex(slugWithSlashRE),
challengeType: Joi.number().min(0).max(26).required(),
challengeType: Joi.number().min(0).max(27).required(),
checksum: Joi.number(),
// TODO: require this only for normal challenges, not certs
dashedName: Joi.string().regex(slugRE),