diff --git a/src/course-home/courseware-search/map-search-response.js b/src/course-home/courseware-search/map-search-response.js index fa51f4dcf0..2c005bd1e5 100644 --- a/src/course-home/courseware-search/map-search-response.js +++ b/src/course-home/courseware-search/map-search-response.js @@ -3,7 +3,7 @@ const Joi = require('joi'); const endpointSchema = Joi.object({ took: Joi.number(), total: Joi.number(), - maxScore: Joi.number(), + maxScore: Joi.number().allow(null), results: Joi.array().items(Joi.object({ id: Joi.string(), contentType: Joi.string(),