judge: allow minPriority config

This commit is contained in:
undefined committed 2021-04-22 13:01:36 +08:00
1 parent 936acf0139
commit b548a48b23
10 files changed
+22 -12

No files matched your search

+1 -1
View File
@@ -211,7 +211,7 @@ export class ProblemDetailHandler extends ProblemHandler {
// TODO maybe async?
await record.getMulti(domainId, { pid }).forEach(async (doc) => {
await record.reset(domainId, doc._id, true);
await record.judge(domainId, doc._id, -1);
await record.judge(domainId, doc._id, -50);
});
this.back();
}