🆕 系统状态,修复题目复制

This commit is contained in:
undefined committed 2020-08-09 21:01:36 +08:00
1 parent 933dc73162
commit 3cb4d2ad49
19 files changed
+67 -30

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ export function updateJudger(args) {
args.type = 'judger';
return coll.updateOne(
{ mid: args.mid, type: 'judger' },
{ $set: args },
{ $set: { ...args, updateAt: new Date() } },
{ upsert: true },
);
}