problem pretest

This commit is contained in:
undefined committed 2020-06-28 13:05:40 +08:00
1 parent dd5a212422
commit 554698189c
17 files changed
+127 -57

No files matched your search

+1 -1
View File
@@ -66,13 +66,13 @@ class SystemScriptHandler extends SystemHandler {
async post({ domainId, id, args = '{}' }) {
args = JSON.parse(args);
// TODO Do not use console.log
const rid = await record.add(domainId, {
pid: id,
uid: this.user._id,
lang: null,
code: null,
status: STATUS.STATUS_JUDGING,
hidden: true,
}, false);
async function report(data) {
judge.next({ domainId, rid, ...data });