fix: prepublish & record rejudge

This commit is contained in:
undefined committed 2020-08-28 22:51:18 +08:00
1 parent 4939b62b51
commit 7651b0a697
6 files changed
+13 -5

No files matched your search

+1
View File
@@ -61,6 +61,7 @@ export async function judge(domainId: string, rid: ObjectID) {
const pdoc = await problem.get(domainId, rdoc.pid);
config = pdoc?.config || {};
}
delete rdoc._id;
await task.add({
...rdoc,
type: 'judge',