Skip to content

Commit

Permalink
fix: contest status sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
thezzisu committed Feb 10, 2025
1 parent 68ab7c9 commit b47c258
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .yarn/versions/71a59d33.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
releases:
"@aoi-js/server": patch
4 changes: 2 additions & 2 deletions apps/server/src/db/contest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ export const contestRuleSchemas = {
}

export enum ContestStatus {
PENDING = 0,
ENDED = 1,
ENDED = 0,
PENDING = 1,
RUNNING = 2
}

Expand Down

0 comments on commit b47c258

Please sign in to comment.