mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: fix script result display
This commit is contained in:
1 parent
e4c2f309c4
commit
8fb4a9b71f
2 files changed
+5
-5
No files matched your search
@@ -136,7 +136,7 @@ class RecordDetailHandler extends Handler {
|
||||
else pdoc = { ...problem.default, ...pdoc ? pick(pdoc, ['domainId', 'docId', 'pid']) : {} };
|
||||
}
|
||||
this.response.body = { udoc, rdoc, pdoc };
|
||||
if (rdoc.contest) {
|
||||
if (rdoc.contest && rdoc.contest.toHexString() !== '000000000000000000000000') {
|
||||
this.response.body.tdoc = await contest.get(domainId, rdoc.contest);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user