core: 修复ACM赛制计分

This commit is contained in:
undefined committed 2021-05-13 00:45:23 +08:00
1 parent a764211eee
commit 7c6e97fdfc
9 files changed
+25 -19

No files matched your search

+3
View File
@@ -117,6 +117,9 @@ class RecordDetailHandler extends Handler {
rdoc,
pdoc,
};
if (rdoc.contest) {
this.response.body.tdoc = await contest.get(domainId, rdoc.contest.tid, rdoc.contest.type);
}
}
@param('rid', Types.ObjectID)