From e004ead21d422a1cb3814acea872db4ab7f36963 Mon Sep 17 00:00:00 2001 From: German Date: Tue, 12 Dec 2023 16:59:25 -0300 Subject: [PATCH] bug: fix errors messages when results are empty (#1252) https://2u-internal.atlassian.net/browse/KBK-80 --- src/course-home/courseware-search/map-search-response.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/course-home/courseware-search/map-search-response.js b/src/course-home/courseware-search/map-search-response.js index a03e99b110..49953b3f6b 100644 --- a/src/course-home/courseware-search/map-search-response.js +++ b/src/course-home/courseware-search/map-search-response.js @@ -14,7 +14,7 @@ const endpointSchema = Joi.object({ htmlContent: Joi.string(), transcriptEn: Joi.string(), }), - }).required().unknown(true)).strict(), + }).unknown(true)).strict(), }).unknown(true).strict(); const defaultType = 'text';