fix(route): leetcode articles (#13108)
This commit is contained in:
parent
657c67ec37
commit
367bb22b60
|
|
@ -62,7 +62,7 @@ module.exports = async (ctx) => {
|
|||
const converter = new showdown.Converter();
|
||||
const solution = converter.makeHtml(questionNote.data.question.solution.content);
|
||||
|
||||
info.description = questionData.data.question.content.trim() + solution;
|
||||
info.description = questionData.data.question.content?.trim() + solution;
|
||||
info.pubDate = parseDate(info.pubDate);
|
||||
|
||||
return info;
|
||||
|
|
|
|||
Loading…
Reference in New Issue