Merge branch 'master' into problem-content

This commit is contained in:
undefined authored and GitHub committed 2024-11-13 03:35:01 +00:00
commit 265b60b307
1 file changed
+1 -1
+1 -1
View File
@@ -548,7 +548,7 @@ export class ProblemModel {
}
const docId = overridePid
? (await ProblemModel.edit(domainId, overridePid, {
title: pdoc.title.trim(),
title: title.trim(),
content: overrideContent || [{
name: 'default', content: pdoc.content.toString() || 'No content', lang: 'en',
}],