diff --git a/packages/hydrooj/src/handler/problem.ts b/packages/hydrooj/src/handler/problem.ts index ad724b5f5..5c3b62969 100644 --- a/packages/hydrooj/src/handler/problem.ts +++ b/packages/hydrooj/src/handler/problem.ts @@ -499,6 +499,7 @@ export class ProblemSubmitHandler extends ProblemDetailHandler { langRange, pdoc: this.pdoc, udoc: this.udoc, + tdoc: this.tdoc, title: this.pdoc.title, page_name: this.tdoc ? this.tdoc.rule === 'homework'