core: typo fix

This commit is contained in:
undefined committed 2021-12-30 14:22:20 +08:00
1 parent 3245eaace8
commit 89868457d0
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "hydrooj",
"version": "3.2.36",
"version": "3.2.37",
"bin": "bin/hydrooj.js",
"main": "src/loader",
"module": "src/loader",
+1 -1
View File
@@ -175,7 +175,7 @@ class TrainingEditHandler extends Handler {
this.response.body = { page_name: this.tdoc ? 'training_edit' : 'training_create' };
if (this.tdoc) {
this.response.body.tdoc = this.tdoc;
this.response.body.tag = JSON.stringify(this.tdoc.dag, null, 2);
this.response.body.dag = JSON.stringify(this.tdoc.dag, null, 2);
}
}