Skip to content

Commit

Permalink
fix updateStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
pandadtdyy committed Aug 5, 2023
1 parent c0003a5 commit 4c52342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hydrooj/src/model/contest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ async function _updateStatus(
export async function updateStatus(
domainId: string, tid: ObjectId, uid: number, rid: ObjectId, pid: number,
status = STATUS.STATUS_WRONG_ANSWER, score = 0, subtasks: Record<number, SubtaskResult> = {},
updated: boolean,
updated: boolean = false,
) {
const tdoc = await get(domainId, tid);
// eslint-disable-next-line @typescript-eslint/no-use-before-define
Expand Down

0 comments on commit 4c52342

Please sign in to comment.