mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: fix isContest
This commit is contained in:
1 parent
71002a8257
commit
564b603fe9
3 files changed
+3
-3
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user