core: fix isContest

This commit is contained in:
undefined committed 2021-12-02 23:21:53 +08:00
1 parent 71002a8257
commit 564b603fe9
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -103,7 +103,7 @@ class RecordModel {
static async add(
domainId: string, pid: number, uid: number,
lang: string, code: string, addTask: boolean, tidOrInput?: ObjectID | string, isContest?: boolean,
lang: string, code: string, addTask: boolean, tidOrInput?: ObjectID | string, isContest = false,
) {
const data: RecordDoc = {
status: STATUS.STATUS_WAITING,