mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
core: ignore type=generate for rejudge
This commit is contained in:
2 files changed
+3
-3
No files matched your search
@@ -442,7 +442,7 @@ export class ProblemDetailHandler extends ContestDetailBaseHandler {
|
||||
this.checkPerm(PERM.PERM_REJUDGE_PROBLEM);
|
||||
const rdocs = await record.getMulti(domainId, {
|
||||
pid,
|
||||
contest: { $ne: new ObjectId('0'.repeat(24)) },
|
||||
contest: { $nin: [record.RECORD_GENERATE, record.RECORD_PRETEST] },
|
||||
status: { $ne: STATUS.STATUS_CANCELED },
|
||||
'files.hack': { $exists: false },
|
||||
}).project({ _id: 1, contest: 1 }).toArray();
|
||||
|
||||
Reference in new issue
Block a user