fix(curriculum): remove helpRoom and fileName (#42268)

* fix(curriculum): remove helpRoom and fileName

Neither are used any more.

* fix: remove fileName form cert meta.jsons
This commit is contained in:
Oliver Eyton-Williams
2021-06-03 20:45:01 +02:00
committed by GitHub
parent ed4e591ffc
commit 1fde5897fc
66 changed files with 65 additions and 233 deletions

View File

@ -37,7 +37,6 @@ const schema = Joi.object()
then: Joi.string().allow(''),
otherwise: Joi.string().required()
}),
fileName: Joi.string(),
files: Joi.object().keys({
indexcss: fileJoi,
indexhtml: fileJoi,
@ -48,7 +47,6 @@ const schema = Joi.object()
helpCategory: Joi.valid('JavaScript', 'HTML-CSS', 'Python'),
videoUrl: Joi.string().allow(''),
forumTopicId: Joi.number(),
helpRoom: Joi.string(),
id: Joi.objectId().required(),
instructions: Joi.string().allow(''),
isComingSoon: Joi.bool(),