mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: typo fix
This commit is contained in:
1 parent
c3190551dd
commit
77c4f6dd27
7 files changed
+17
-17
No files matched your search
@@ -267,7 +267,7 @@ export class ProblemSubmitHandler extends ProblemDetailHandler {
|
||||
domain.incUserInDomain(domainId, this.user._id, 'nSubmit'),
|
||||
]);
|
||||
}
|
||||
bus.boardcast('record/change', rdoc);
|
||||
bus.broadcast('record/change', rdoc);
|
||||
this.response.body = { rid };
|
||||
this.response.redirect = this.url('record_detail', { rid });
|
||||
}
|
||||
@@ -284,7 +284,7 @@ export class ProblemPretestHandler extends ProblemDetailHandler {
|
||||
lang, code, true, input,
|
||||
);
|
||||
const rdoc = await record.get(domainId, rid);
|
||||
bus.boardcast('record/change', rdoc);
|
||||
bus.broadcast('record/change', rdoc);
|
||||
this.response.body = { rid };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user