mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
v2.5.0
This commit is contained in:
1 parent
0de7cd7b59
commit
7d7b12392f
18 files changed
+90
-47
No files matched your search
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"id": "migrate-vijos",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"description": "Migrate From Vijos"
|
||||
}
|
||||
@@ -170,7 +170,7 @@ const tasks = {
|
||||
judgeText: (c.judge_text || '') + (c.message || ''),
|
||||
});
|
||||
}
|
||||
return {
|
||||
const rdoc = {
|
||||
_id: doc._id,
|
||||
status: doc.status,
|
||||
score: doc.score,
|
||||
@@ -180,16 +180,17 @@ const tasks = {
|
||||
lang: doc.lang,
|
||||
uid: doc.uid,
|
||||
pid: pid(doc.pid),
|
||||
tid: doc.tid,
|
||||
domainId: doc.domain_id,
|
||||
judger: doc.judge_uid,
|
||||
judgeAt: doc.judge_at,
|
||||
judgeTexts: doc.judge_texts,
|
||||
compilerTexts: doc.compiler_texts,
|
||||
rejudged: doc.rejudged,
|
||||
testCases,
|
||||
hidden: doc.hidden,
|
||||
};
|
||||
if (doc.rejudged) rdoc.rejudged = true;
|
||||
if (doc.tid) rdoc.tid = doc.tid;
|
||||
return rdoc;
|
||||
},
|
||||
domain: {
|
||||
_id: '_id',
|
||||
|
||||
Reference in new issue
Block a user