core: typo fix

This commit is contained in:
undefined committed 2021-08-07 12:20:03 +08:00
1 parent c3190551dd
commit 77c4f6dd27
7 files changed
+17 -17

No files matched your search

+2 -2
View File
@@ -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 };
}
}