From e93ee9b2a128e6bbbd4250e4b65fcce75f9ea717 Mon Sep 17 00:00:00 2001 From: undefined Date: Mon, 21 Jun 2021 13:52:46 +0800 Subject: [PATCH] core: fix lint --- packages/hydrooj/src/model/record.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/hydrooj/src/model/record.ts b/packages/hydrooj/src/model/record.ts index 5a9a561e9..2f2f714e1 100644 --- a/packages/hydrooj/src/model/record.ts +++ b/packages/hydrooj/src/model/record.ts @@ -9,7 +9,7 @@ import { STATUS } from './builtin'; import task from './task'; import problem from './problem'; import { - RecordDoc, ContestInfo, ProblemConfigFile, ExternalProblemId, ProblemConfig, + RecordDoc, ContestInfo, ProblemConfigFile, ExternalProblemId, } from '../interface'; import { ArgMethod, buildProjection, Time } from '../utils'; import { MaybeArray } from '../typeutils'; @@ -81,7 +81,7 @@ class RecordModel { }); } } - await task.add({ + return await task.add({ ...rdoc, priority, type: 'judge',