vjudge: uoj: ensure fetch

This commit is contained in:
undefined committed 2021-10-06 17:11:56 +08:00
1 parent d57442bf5f
commit 554287d5a6
3 files changed
+12 -6

No files matched your search

+1 -1
View File
@@ -97,7 +97,7 @@ class RecordModel {
static async add(
domainId: string, pid: ExternalProblemId | number, uid: number,
lang: string, code: string, addTask: boolean, tidOrInput?: ObjectID | string, isContest?: boolean
lang: string, code: string, addTask: boolean, tidOrInput?: ObjectID | string, isContest?: boolean,
) {
let pdomain = domainId;
if (typeof pid === 'string') {