mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: update judge config
This commit is contained in:
1 parent
d13876a5bc
commit
a2004056ac
22 files changed
+100
-245
No files matched your search
@@ -72,6 +72,7 @@ class RecordModel {
|
||||
pdoc = await problem.get(pdoc.reference.domainId, pdoc.reference.pid);
|
||||
if (!pdoc) throw new ProblemNotFoundError(rdoc.domainId, rdoc.pid);
|
||||
}
|
||||
(config as any).problemOwner = pdoc.owner;
|
||||
source = `${pdoc.domainId}/${pdoc.docId}`;
|
||||
data = pdoc.data;
|
||||
if (typeof pdoc.config === 'string') throw new Error(pdoc.config);
|
||||
|
||||
Reference in new issue
Block a user