Skip to content

Commit

Permalink
bug: fix errors messages when results are empty (#1252)
Browse files Browse the repository at this point in the history
  • Loading branch information
germanolleunlp authored Dec 12, 2023
1 parent 4d72333 commit e004ead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/course-home/courseware-search/map-search-response.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit e004ead

Please sign in to comment.